summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-07-18 14:02:56 +0100
committerCarl Hetherington <cth@carlh.net>2014-07-18 14:02:56 +0100
commit23527d456b297c6ecc86a0ca6d823eafc8a33859 (patch)
tree2362a20bec82f9ff4cfeceed07997679b802b93d /cscript
parent2edcf82501539e0afc1dd7686ff5c343045b3796 (diff)
Disable tests on Centos only.
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':