From cfeaa4d1e9caec0f0bc048fa94fcbc515bdff04b Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 26 Oct 2014 15:45:49 +0000 Subject: Fix windows cscript build. --- cscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cscript') diff --git a/cscript b/cscript index 03f4bf6..0198fff 100644 --- a/cscript +++ b/cscript @@ -4,12 +4,12 @@ def build(target, options): cmd = './waf configure --prefix=%s' % target.directory if target.platform == 'linux': cmd += ' --static' + if target.distro == 'centos': + cmd += ' --disable-tests' if target.debug: cmd += ' --enable-debug' if target.platform == 'windows': cmd += ' --target-windows --disable-tests' - if target.distro == 'centos': - cmd += ' --disable-tests' target.command(cmd) target.command('./waf build install') -- cgit v1.2.3