Header guards.
[libdcp.git] / cscript
diff --git a/cscript b/cscript
index a1a9232dda1e89b98d52fa70c4c752f5a7c93eca..23dea9cdf1a76156b128798ea24edf9b03d1b45a 100644 (file)
--- a/cscript
+++ b/cscript
@@ -15,6 +15,10 @@ def build(target):
         cmd += ' --target-windows'
     elif target.platform == 'osx':
         cmd += ' --osx'
+
+    if target.debug:
+        cmd += ' --enable-debug'
+
     target.command(cmd)
     target.command('./waf build install')