From 60bb6007a48a0acb12d954a0803e082d05c67689 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 4 Sep 2024 10:55:42 +0200 Subject: Fix erroneous use of --static-boost on Centos other than 7. --- cscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cscript b/cscript index c703048..edb2d69 100644 --- a/cscript +++ b/cscript @@ -25,7 +25,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' if target.debug: cmd += ' --enable-debug' -- cgit v1.2.3