summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-10-26 15:45:49 +0000
committerCarl Hetherington <cth@carlh.net>2014-10-26 15:45:49 +0000
commitcfeaa4d1e9caec0f0bc048fa94fcbc515bdff04b (patch)
tree3372c5910f0e5dc232ad9ec5c45286c707b989c7
parentcc4851930c4a0b9919dd8900314cb43b6d54d38b (diff)
Fix windows cscript build.
-rw-r--r--cscript4
1 files changed, 2 insertions, 2 deletions
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')