From: Carl Hetherington Date: Fri, 22 Jul 2016 12:27:44 +0000 (+0100) Subject: Don't build test on Windows; rand_r() not available. X-Git-Tag: v1.4.0~72^2 X-Git-Url: https://git.carlh.net/gitweb/?a=commitdiff_plain;h=dc52dfc8e5a5e89005098bbec56331f9f0c6d3aa;p=libdcp.git Don't build test on Windows; rand_r() not available. --- diff --git a/cscript b/cscript index a91f8407..7a09f0a0 100644 --- 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'