diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-10-26 15:45:49 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-10-26 15:45:49 +0000 |
| commit | cfeaa4d1e9caec0f0bc048fa94fcbc515bdff04b (patch) | |
| tree | 3372c5910f0e5dc232ad9ec5c45286c707b989c7 | |
| parent | cc4851930c4a0b9919dd8900314cb43b6d54d38b (diff) | |
Fix windows cscript build.
| -rw-r--r-- | cscript | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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') |
