diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-09-04 10:55:42 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-09-04 10:55:42 +0200 |
| commit | 60bb6007a48a0acb12d954a0803e082d05c67689 (patch) | |
| tree | 269489018ceb58557aafbd75de464989a26581ed /cscript | |
| parent | a782f96fe18d3031f07705be602c186f23c51aee (diff) | |
Fix erroneous use of --static-boost on Centos other than 7.v1.6.51
Diffstat (limited to 'cscript')
| -rw-r--r-- | cscript | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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' |
