From a782f96fe18d3031f07705be602c186f23c51aee Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 3 Sep 2024 21:42:13 +0200 Subject: Handle static link with boost better, and extend it to Ubuntu 16.04. --- cscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cscript') 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': -- cgit v1.2.3