Hide some warnings on OS X.
[libdcp.git] / cscript
diff --git a/cscript b/cscript
index 75b42aee3205a8eddb0dd380abc32992434dd384..f2b07d1277949c372e3d5144da12c71477afb298 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', 'v0.15.0'), ('openjpeg2-cdist', '63c1932'))
 
 def build(target, options):
     cmd = './waf configure --disable-examples --prefix=%s' % target.directory
@@ -9,8 +9,10 @@ def build(target, options):
         cmd += ' --static'
         if target.distro == 'centos':
             cmd += ' --disable-tests'
+        if (target.distro == 'debian' and target.version == 'unstable' or target.distro == 'fedora' and target.version == '23'):
+            target.append_with_space('CXXFLAGS', '-std=c++11')
     elif target.platform == 'windows':
-        cmd += ' --target-windows --disable-tests'
+        cmd += ' --target-windows --disable-gcov'
     elif target.platform == 'osx':
         cmd += ' --disable-tests'