Build fixes.
[dcpomatic.git] / cscript
diff --git a/cscript b/cscript
index aa274e8ecef8bf0362e4a97dea2471b9ba4090e9..a985fa940110a440e3e67a2ad93a01357643819f 100644 (file)
--- a/cscript
+++ b/cscript
@@ -337,7 +337,9 @@ def configure_options(target, options):
     if target.debug:
         opt += ' --enable-debug'
     if target.platform == 'windows':
-        opt += ' --target-windows'
+        opt += ' --target-windows --disable-tests'
+    elif target.platform == 'osx':
+        opt += ' --disable-tests'
     elif target.platform == 'linux':
         opt += ' --static-dcpomatic --static-wxwidgets --static-ffmpeg --static-dcp --static-sub --static-cxml'
         if target.distro == 'centos':