summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-05-05 09:22:50 +0100
committerCarl Hetherington <cth@carlh.net>2015-05-05 09:22:50 +0100
commitf35787e741f1a6691c09949a78fcdf50f3fc0ec9 (patch)
treef49674e37f5707834f7701aae715cc61945e339c
parentb3651f74fd289be4e04f00388094ff0cc2e52bec (diff)
Fix centos build.
-rw-r--r--cscript4
1 files changed, 4 insertions, 0 deletions
diff --git a/cscript b/cscript
index 7747d7b..f7e34b6 100644
--- a/cscript
+++ b/cscript
@@ -2,6 +2,10 @@ def build(target, options):
cmd = './waf configure --prefix=%s' % target.directory
if target.platform == 'linux':
cmd += ' --static'
+ if target.distro == 'centos':
+ # Centos builds using static boost, which means tests don't
+ # build as test/tests.cc defines BOOST_TEST_DYN_LINK
+ cmd += ' --disable-tests'
elif target.platform == 'windows':
cmd += ' --target-windows'
target.command(cmd)