summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-09-04 10:55:42 +0200
committerCarl Hetherington <cth@carlh.net>2024-09-04 10:55:42 +0200
commit60bb6007a48a0acb12d954a0803e082d05c67689 (patch)
tree269489018ceb58557aafbd75de464989a26581ed /cscript
parenta782f96fe18d3031f07705be602c186f23c51aee (diff)
Fix erroneous use of --static-boost on Centos other than 7.v1.6.51
Diffstat (limited to 'cscript')
-rw-r--r--cscript2
1 files changed, 1 insertions, 1 deletions
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'