Potential fix for disappearing DCP names under translation.
[dcpomatic.git] / cscript
diff --git a/cscript b/cscript
index ee481d4a04d6348b6d57528ea675520d01bee1de..3b66c83416fdfcf087456dcb1ee0f4a14ecf2181 100644 (file)
--- a/cscript
+++ b/cscript
@@ -233,8 +233,8 @@ def dependencies(target):
         ffmpeg_options = {}
 
     return (('ffmpeg-cdist', '1d4a1a4', ffmpeg_options),
-            ('libdcp', 'b105b7d'),
-            ('libsub', '067c21c'))
+            ('libdcp', '0acd045'),
+            ('libsub', '3db5052'))
 
 def configure_options(target):
     opt = ''
@@ -251,6 +251,10 @@ def configure_options(target):
             elif target.version == '7':
                 opt += ' --workaround-gssapi --static-xmlpp'
 
+    # Build Windows debug versions with static linking as I think gdb works better then
+    if target.debug and target.platform == 'windows':
+        opt += ' --static-dcpomatic'
+
     return opt
 
 def build(target, options):