Attempt to fix OS X build failure.
[libcxml.git] / cscript
diff --git a/cscript b/cscript
index f1063c75b2ae291d685f8fb67650ab3a01073ed1..0a3f59e16ce4b0dd4dd682088d6d74a18ec18823 100644 (file)
--- a/cscript
+++ b/cscript
@@ -1,10 +1,8 @@
-def build(target):
+def build(target, options):
     cmd = './waf configure --prefix=%s' % target.work_dir_cscript()
     if target.platform == 'linux':
-        cmd += ' --static'
+        cmd += ' --static --disable-tests'
     elif target.platform == 'windows':
         cmd += ' --target-windows'
-    elif target.platform == 'osx':
-        cmd += ' --osx'
     target.command(cmd)
     target.command('./waf build install')