summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
Diffstat (limited to 'cscript')
-rw-r--r--cscript4
1 files changed, 3 insertions, 1 deletions
diff --git a/cscript b/cscript
index d9a6fa7b..8d87270a 100644
--- a/cscript
+++ b/cscript
@@ -6,7 +6,9 @@ def dependencies(target):
def build(target, options):
cmd = './waf configure --prefix=%s' % target.work_dir_cscript()
if target.platform == 'linux':
- cmd += ' --static --disable-tests'
+ cmd += ' --static'
+ if target.distro == 'centos':
+ cmd += ' --disable-tests'
elif target.platform == 'windows':
cmd += ' --target-windows'
elif target.platform == 'osx':