summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-09-03 21:42:13 +0200
committerCarl Hetherington <cth@carlh.net>2024-09-04 01:07:33 +0200
commita782f96fe18d3031f07705be602c186f23c51aee (patch)
tree93b790a56b81ef8b9f41e9f421ae46c46046314e /cscript
parent52a482ef5d0ed791d7e9a0a30c143a8e3012023a (diff)
Handle static link with boost better, and extend it to Ubuntu 16.04.v1.6.50
Diffstat (limited to 'cscript')
-rw-r--r--cscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/cscript b/cscript
index 776fd56..c703048 100644
--- a/cscript
+++ b/cscript
@@ -25,8 +25,8 @@ def build(target, options):
cmd = './waf configure --prefix=%s' % target.directory
if target.platform == 'linux':
cmd += ' --static'
- if target.distro == 'centos':
- cmd += ' --disable-tests'
+ if target.distro == 'centos' or (target.distro == 'ubuntu' and target.version == '16.04'):
+ cmd += ' --static-boost'
if target.debug:
cmd += ' --enable-debug'
if target.platform == 'windows':