summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2019-10-25 15:12:29 +0300
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2019-10-25 15:51:17 +0300
commit1a0306abb1705ea6741d9f9a2130b0e8b62ddcfb (patch)
treeab31fe1fbb0712e8e256c2c54e45d497f4cbbe35 /modules
parent930d6d8ca4c34b0383d232335902f7f808806a66 (diff)
Fix missing `z_verbose` and `z_error` symbols in debug iOS build.
Diffstat (limited to 'modules')
-rw-r--r--modules/freetype/SCsub2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/freetype/SCsub b/modules/freetype/SCsub
index b47377cbc4..8f4a8de895 100644
--- a/modules/freetype/SCsub
+++ b/modules/freetype/SCsub
@@ -66,7 +66,7 @@ if env['builtin_freetype']:
env.Prepend(CPPPATH=[thirdparty_dir + "/include"])
env_freetype.Append(CPPDEFINES=['FT2_BUILD_LIBRARY', 'FT_CONFIG_OPTION_USE_PNG'])
- if (env['target'] != 'release'):
+ if (env['target'] == 'debug'):
env_freetype.Append(CPPDEFINES=['ZLIB_DEBUG'])
# Also requires libpng headers