summaryrefslogtreecommitdiff
path: root/modules/freetype
diff options
context:
space:
mode:
Diffstat (limited to 'modules/freetype')
-rw-r--r--modules/freetype/SCsub4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/freetype/SCsub b/modules/freetype/SCsub
index c68c40265c..87652a3ddf 100644
--- a/modules/freetype/SCsub
+++ b/modules/freetype/SCsub
@@ -5,7 +5,7 @@ Import('env')
# Not building in a separate env as core needs it
# Thirdparty source files
-if (env["freetype"] != "system"): # builtin
+if (env['builtin_freetype'] != 'no'):
thirdparty_dir = "#thirdparty/freetype/"
thirdparty_sources = [
"src/autofit/autofit.c",
@@ -61,7 +61,7 @@ if (env["freetype"] != "system"): # builtin
env.Append(CPPPATH=[thirdparty_dir, thirdparty_dir + "/include"])
# also requires libpng headers
- if (env["libpng"] != "system"): # builtin
+ if (env['builtin_libpng'] != 'no'):
env.Append(CPPPATH=["#thirdparty/libpng"])
""" FIXME: Remove this commented code if Windows can handle the monolithic lib