浏览代码

better test for freetype

David Rose 23 年之前
父节点
当前提交
5e32b77580
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      dtool/Config.pp

+ 1 - 1
dtool/Config.pp

@@ -391,7 +391,7 @@
 // tells us where to look for the various files.  On Windows, we need to
 // tells us where to look for the various files.  On Windows, we need to
 // supply this information explicitly.
 // supply this information explicitly.
 #define FREETYPE_CONFIG freetype-config
 #define FREETYPE_CONFIG freetype-config
-#defer HAVE_FREETYPE $[bintest $[FREETYPE_CONFIG]]
+#defer HAVE_FREETYPE $[or $[libtest $[FREETYPE_LPATH],$[FREETYPE_LIBS]],$[bintest $[FREETYPE_CONFIG]]]
 #define FREETYPE_CFLAGS
 #define FREETYPE_CFLAGS
 #define FREETYPE_IPATH
 #define FREETYPE_IPATH
 #define FREETYPE_LPATH
 #define FREETYPE_LPATH