summaryrefslogtreecommitdiff
path: root/drivers/SCsub
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/SCsub')
-rw-r--r--drivers/SCsub4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/SCsub b/drivers/SCsub
index bc0d948f41..edab83cd86 100644
--- a/drivers/SCsub
+++ b/drivers/SCsub
@@ -15,8 +15,8 @@ SConscript('gles2/SCsub');
SConscript('gl_context/SCsub');
SConscript("png/SCsub");
-if (env["builtin_zlib"]=="yes"):
- SConscript("builtin_zlib/SCsub");
+if ("builtin_zlib" in env and env["builtin_zlib"] == "yes"):
+ SConscript("zlib/SCsub");
if (env["platform"] == "windows"):
SConscript("rtaudio/SCsub");