Don't build test on Windows; rand_r() not available.
authorCarl Hetherington <cth@carlh.net>
Fri, 22 Jul 2016 12:27:44 +0000 (13:27 +0100)
committerCarl Hetherington <cth@carlh.net>
Fri, 22 Jul 2016 12:27:44 +0000 (13:27 +0100)
cscript

diff --git a/cscript b/cscript
index a91f8407a48e9e26f3e27fb804ed8b4f14f8cc9e..7a09f0a0d7b8daa6302176fd734dab6f73f0ba6b 100644 (file)
--- a/cscript
+++ b/cscript
@@ -48,7 +48,7 @@ def build(target, options):
         if (target.distro == 'debian' and target.version == 'unstable' or target.distro == 'fedora' and target.version == '23'):
             target.append_with_space('CXXFLAGS', '-std=c++11')
     elif target.platform == 'windows':
-        cmd += ' --target-windows --disable-gcov'
+        cmd += ' --target-windows --disable-gcov --disable-tests'
         if target.version == 'xp':
             # OpenJPEG 1.x is inexplicably faster on Windows XP; see DCP-o-matic bug #771
             cmd += ' --jpeg=oj1'