projects
/
libcxml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3651f7
)
Fix centos build.
author
Carl Hetherington
<cth@carlh.net>
Tue, 5 May 2015 08:22:50 +0000
(09:22 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 5 May 2015 08:22:50 +0000
(09:22 +0100)
cscript
patch
|
blob
|
history
diff --git
a/cscript
b/cscript
index 7747d7b0ed02cba3cd3cd7d2b21c881faf03107b..f7e34b634d8248cbcc3937463540f68d01663068 100644
(file)
--- 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)