summaryrefslogtreecommitdiff
path: root/core/SCsub
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 /core/SCsub
parent930d6d8ca4c34b0383d232335902f7f808806a66 (diff)
Fix missing `z_verbose` and `z_error` symbols in debug iOS build.
Diffstat (limited to 'core/SCsub')
-rw-r--r--core/SCsub2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/SCsub b/core/SCsub
index ed9a0a231d..b12c6a9e27 100644
--- a/core/SCsub
+++ b/core/SCsub
@@ -80,6 +80,8 @@ if env['builtin_zlib']:
env_thirdparty.Prepend(CPPPATH=[thirdparty_zlib_dir])
# Needs to be available in main env too
env.Prepend(CPPPATH=[thirdparty_zlib_dir])
+ if (env['target'] == 'debug'):
+ env_thirdparty.Append(CPPDEFINES=['ZLIB_DEBUG'])
env_thirdparty.add_source_files(env.core_sources, thirdparty_zlib_sources)