diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-05-05 09:22:50 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-05-05 09:22:50 +0100 |
| commit | f35787e741f1a6691c09949a78fcdf50f3fc0ec9 (patch) | |
| tree | f49674e37f5707834f7701aae715cc61945e339c | |
| parent | b3651f74fd289be4e04f00388094ff0cc2e52bec (diff) | |
Fix centos build.
| -rw-r--r-- | cscript | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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) |
