Bump version
[libcxml.git] / cscript
diff --git a/cscript b/cscript
index f1063c75b2ae291d685f8fb67650ab3a01073ed1..4fc3f4f51fc984fc71a60a30cc1df1128987bc2d 100644 (file)
--- a/cscript
+++ b/cscript
@@ -1,10 +1,8 @@
-def build(target):
-    cmd = './waf configure --prefix=%s' % target.work_dir_cscript()
+def build(target, options):
+    cmd = './waf configure --prefix=%s' % target.directory
     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')