From 4e88d43f912390b1251b38ff107b0fb3b5015191 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 4 Sep 2024 10:52:50 +0200 Subject: Static boost is only on Centos 7, not other versions. --- cscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cscript') diff --git a/cscript b/cscript index 728c45a..a753ca4 100644 --- a/cscript +++ b/cscript @@ -24,7 +24,7 @@ def build(target, options): cmd = './waf configure --prefix=%s' % target.directory if target.platform == 'linux': cmd += ' --static' - if target.distro == 'centos' or (target.distro == 'ubuntu' and target.version == '16.04'): + if (target.distro, target.version) in [('centos', '7'), ('ubuntu', '16.04')]: cmd += ' --static-boost' elif target.platform == 'windows': cmd += f' --target-windows-{target.bits}' -- cgit v1.2.3