Potential fix for disappearing DCP names under translation.
[dcpomatic.git] / cscript
diff --git a/cscript b/cscript
index c5accebbb323ee05bd3eefc5ad91363f906d0389..3b66c83416fdfcf087456dcb1ee0f4a14ecf2181 100644 (file)
--- a/cscript
+++ b/cscript
@@ -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):