summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
Diffstat (limited to 'cscript')
-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')