Skip to content

Commit 4e88d43

Browse files
committed
Static boost is only on Centos 7, not other versions.
1 parent 844c7cf commit 4e88d43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cscript

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def build(target, options):
2424
cmd = './waf configure --prefix=%s' % target.directory
2525
if target.platform == 'linux':
2626
cmd += ' --static'
27-
if target.distro == 'centos' or (target.distro == 'ubuntu' and target.version == '16.04'):
27+
if (target.distro, target.version) in [('centos', '7'), ('ubuntu', '16.04')]:
2828
cmd += ' --static-boost'
2929
elif target.platform == 'windows':
3030
cmd += f' --target-windows-{target.bits}'

0 commit comments

Comments
 (0)