Build fix.
[libdcp.git] / cscript
diff --git a/cscript b/cscript
index 75b42aee3205a8eddb0dd380abc32992434dd384..1c6cc16ba64b98ec2cbc6e22ecb54243ab3f70d9 100644 (file)
--- a/cscript
+++ b/cscript
@@ -1,7 +1,7 @@
 import os
 
 def dependencies(target):
-    return (('libcxml', 'v0.12.0'), ('openjpeg-cdist', '5d8bffd'))
+    return (('libcxml', '506fb1b'), ('openjpeg-cdist', '5d8bffd'))
 
 def build(target, options):
     cmd = './waf configure --disable-examples --prefix=%s' % target.directory
@@ -9,6 +9,8 @@ def build(target, options):
         cmd += ' --static'
         if target.distro == 'centos':
             cmd += ' --disable-tests'
+        if target.distro == 'debian' and target.version == 'unstable':
+            target.append_with_space('CXXFLAGS', '-std=c++11')
     elif target.platform == 'windows':
         cmd += ' --target-windows --disable-tests'
     elif target.platform == 'osx':