summaryrefslogtreecommitdiff
path: root/drivers/SCsub
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2016-10-14 18:58:24 +0200
committerRémi Verschelde <rverschelde@gmail.com>2016-10-15 12:20:47 +0200
commitcbf52606f4928df46fc89d37d781bad782f0616e (patch)
tree6a2d1d2a597f17edb735e3b8201c1a3bf0efed7d /drivers/SCsub
parent36738ddda4f732fff7bbfb7b4605a47a0bd7c045 (diff)
zlib: Split thirdparty files, simplify scons option
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");