Fix incorrect day-of-month in LocalTime.
[libdcp.git] / cscript
diff --git a/cscript b/cscript
index 578cd24775b7516a7068c4229bc6e5087dd1ed8b..e39268372d0c65dcd6ffdb65481c09e3860efec1 100644 (file)
--- a/cscript
+++ b/cscript
@@ -1,16 +1,18 @@
 import os
 
 def dependencies(target):
-    return (('libcxml', '27780878701f85ad597addacd541f2e897719978'), ('openjpeg-cdist', '9717d8fd0217b3a5e12ed7afbab1fd9d4499fc4d'))
+    return (('libcxml', None), ('openjpeg-cdist', '5d8bffd'))
 
 def build(target, options):
-    cmd = './waf configure --prefix=%s' % target.work_dir_cscript()
+    cmd = './waf configure --disable-examples --prefix=%s' % target.directory
     if target.platform == 'linux':
         cmd += ' --static'
+        if target.distro == 'centos':
+            cmd += ' --disable-tests'
     elif target.platform == 'windows':
-        cmd += ' --target-windows'
+        cmd += ' --target-windows --disable-tests'
     elif target.platform == 'osx':
-        cmd += ' --osx'
+        cmd += ' --disable-tests'
 
     if target.debug:
         cmd += ' --enable-debug'