Fix test running when LD_LIBRARY_PATH is set in the environment.
[libdcp.git] / cscript
diff --git a/cscript b/cscript
index a40e2ff707c4ff001c69496b3c7384972a4211a7..3bca50ec608925d07b48ef619a9c9af40133f6f2 100644 (file)
--- a/cscript
+++ b/cscript
@@ -1,12 +1,12 @@
 import os
 
 def dependencies(target):
-    return (('libcxml', '890fb170eb4acb4af0e67d204b32b2d9fa1512c6'), ('openjpeg-cdist', 'f4c50012f1ed3f2e40239a4c856e83a16b98e5d9'))
+    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':