Supporter.
[dcpomatic.git] / cscript
diff --git a/cscript b/cscript
index 0c630094ba12f4d961e849c9af7c9350fd0f3857..e256d1635d81622080a278b7d2579fa8f1e2cf32 100644 (file)
--- a/cscript
+++ b/cscript
@@ -290,8 +290,8 @@ def dependencies(target):
         ffmpeg_options = {}
 
     return (('ffmpeg-cdist', '5fce90f', ffmpeg_options),
-            ('libdcp', '0c70427'),
-            ('libsub', '1ede9a6'),
+            ('libdcp', '4bdc3a8'),
+            ('libsub', '3b9dd0a'),
             ('rtaudio-cdist', None))
 
 def configure_options(target):
@@ -308,6 +308,11 @@ def configure_options(target):
                 opt += ' --static-boost --static-xmlpp'
             elif target.version == '7':
                 opt += ' --workaround-gssapi'
+                # Centos 7 ships with glibmm 2.50.0 which requires C++11
+                # but its compiler (gcc 4.8.5) defaults to C++97.  Go figure.
+                # I worry that this will cause ABI problems but I don't have
+                # a better solution.
+                opt += ' --force-cpp11'
 
     # Build Windows debug versions with static linking as I think gdb works better then
     if target.debug and target.platform == 'windows':