Fix test running when LD_LIBRARY_PATH is set in the environment.
[libdcp.git] / cscript
diff --git a/cscript b/cscript
index 38ac40dd691ff1b3f85998b82ee41a4654888f7c..3bca50ec608925d07b48ef619a9c9af40133f6f2 100644 (file)
--- a/cscript
+++ b/cscript
@@ -1,10 +1,10 @@
 import os
 
 def dependencies(target):
-    return (('libcxml', '911c706'), ('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 --disable-tests'
     elif target.platform == 'windows':