Fix test running when LD_LIBRARY_PATH is set in the environment.
[libdcp.git] / cscript
diff --git a/cscript b/cscript
index 1bb7a35f52ef3a32d5c181cc7e91d7bbf134dab9..3bca50ec608925d07b48ef619a9c9af40133f6f2 100644 (file)
--- a/cscript
+++ b/cscript
@@ -1,12 +1,12 @@
 import os
 
 def dependencies(target):
-    return (('libcxml', '7b4ecc3'), ('openjpeg-cdist', '13b69c2'))
+    return (('libcxml', 'v0.11.0'), ('openjpeg-cdist', '5d8bffd'))
 
 def build(target, options):
-    cmd = './waf configure --prefix=%s' % target.work_dir_cscript()
+    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':