From f35787e741f1a6691c09949a78fcdf50f3fc0ec9 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 5 May 2015 09:22:50 +0100 Subject: Fix centos build. --- cscript | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cscript') 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) -- cgit v1.2.3