diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-09-04 10:52:50 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-09-04 10:52:50 +0200 |
| commit | 4e88d43f912390b1251b38ff107b0fb3b5015191 (patch) | |
| tree | e16ce56d31d99de09b7ac85c4e1c95caae746161 /cscript | |
| parent | 844c7cf3bbf9c1607b329a00bbffc3ea86a0ddab (diff) | |
Static boost is only on Centos 7, not other versions.v0.17.11
Diffstat (limited to 'cscript')
| -rw-r--r-- | cscript | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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}' |
