From 4bba7f8f1d11de82f80500f174a1c2e75ecfdacf Mon Sep 17 00:00:00 2001 From: Alexander Babikov Date: Wed, 13 Apr 2022 05:16:23 +0500 Subject: [PATCH] Define the FreeType library name on macOS --- src/printer/prt_escp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/printer/prt_escp.c b/src/printer/prt_escp.c index d290e295f..e5f43257c 100644 --- a/src/printer/prt_escp.c +++ b/src/printer/prt_escp.c @@ -88,6 +88,8 @@ #ifdef _WIN32 # define PATH_FREETYPE_DLL "freetype.dll" +#elif defined __APPLE__ +# define PATH_FREETYPE_DLL "libfreetype.dylib" #else # define PATH_FREETYPE_DLL "libfreetype.so.6" #endif