From: lantw44 Date: Wed, 3 Oct 2018 15:22:43 +0000 (+0800) Subject: Fix test-multithread build on FreeBSD (#1217) X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7a1ab0464d3ee1ca5c9b31215fbffb8601ae860d;p=platform%2Fupstream%2FlibHarfBuzzSharp.git Fix test-multithread build on FreeBSD (#1217) Add the default font path used by FreeBSD ports. --- diff --git a/test/api/test-multithread.c b/test/api/test-multithread.c index e1e7eb5..508dd39 100644 --- a/test/api/test-multithread.c +++ b/test/api/test-multithread.c @@ -37,6 +37,8 @@ static const char *text = "طرح‌نَما"; static const char *path = #if defined(__linux__) "/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf"; +#elif defined(__FreeBSD__) + "/usr/local/share/fonts/dejavu/DejaVuSans.ttf"; #elif defined(_WIN32) || defined(_WIN64) "C:\\Windows\\Fonts\\tahoma.ttf"; #elif __APPLE__