Add -x32/-x64 suffix to boost libraries when building for Windows.
[dcpomatic.git] / cscript
diff --git a/cscript b/cscript
index 7bf3ce5ec74715cd554fe4322615a2672aa3f563..7feb7eb036090bdadb0630583580a2ec78285eff 100644 (file)
--- a/cscript
+++ b/cscript
@@ -398,8 +398,8 @@ def dependencies(target, options):
         # Use distro-provided FFmpeg on Arch
         deps = []
 
-    deps.append(('libdcp', 'v1.8.7'))
-    deps.append(('libsub', 'v1.6.7'))
+    deps.append(('libdcp', 'v1.8.8'))
+    deps.append(('libsub', 'v1.6.8'))
     deps.append(('leqm-nrt', '93ae9e6'))
     deps.append(('rtaudio', 'f619b76'))
     # We get our OpenSSL libraries from the environment, but we
@@ -429,7 +429,7 @@ def configure_options(target, options, for_package=False):
     if target.debug:
         opt += ' --enable-debug'
     if target.platform == 'windows':
-        opt += ' --target-windows'
+        opt += f' --target-windows-{target.bits}'
     elif target.platform == 'linux':
         opt += ' --static-dcpomatic --static-wxwidgets --static-ffmpeg --static-dcp --static-sub --static-cxml'
         if target.distro == 'centos':