Build fix.
[libdcp.git] / cscript
diff --git a/cscript b/cscript
index 900e1ed372fa633a06fff7f8dbe8bc0671c91265..1c6cc16ba64b98ec2cbc6e22ecb54243ab3f70d9 100644 (file)
--- a/cscript
+++ b/cscript
@@ -1,7 +1,7 @@
 import os
 
 def dependencies(target):
-    return (('libcxml', '7fa910c'), ('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':