summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-09-14 02:28:16 +0200
committerCarl Hetherington <cth@carlh.net>2024-09-14 02:32:17 +0200
commit9181f07af574cb45099c887349285f9c62157481 (patch)
tree1e56a0a607dbebf3548c55c245fef444ce4a89e5 /cscript
parent3768b728b46dcfd4bb6c34a70f566a31b09c6409 (diff)
Fix build on Ubuntu 16.04 now that we have a static boost library.v1.8.106
Diffstat (limited to 'cscript')
-rw-r--r--cscript2
1 files changed, 2 insertions, 0 deletions
diff --git a/cscript b/cscript
index b08c366e..61d94539 100644
--- a/cscript
+++ b/cscript
@@ -44,6 +44,8 @@ def build(target, options):
if target.distro != 'ubuntu' or not target.version in ('16.04', '22.04'):
# We only build tests on Ubuntu 16.04 and 22.04
cmd += ' --disable-tests'
+ if target.distro == 'ubuntu' and target.version == '16.04':
+ cmd += ' --static-boost'
elif target.platform == 'windows':
cmd += f' --target-windows-{target.bits}'