summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-09-03 20:11:35 +0200
committerCarl Hetherington <cth@carlh.net>2024-09-04 01:05:16 +0200
commit604a4e41b60f575fa3a0573aba5170c4d0f331eb (patch)
tree82f67e33a6b05373aed64547fd1394eeb2a2fd3e /cscript
parent13c738a189e574b80c2b8eca9baa485264664dde (diff)
Allow libcxml and libdcp builds with static boost.v1.9.16
Diffstat (limited to 'cscript')
-rw-r--r--cscript4
1 files changed, 3 insertions, 1 deletions
diff --git a/cscript b/cscript
index 2db3725f..9ad72efa 100644
--- a/cscript
+++ b/cscript
@@ -36,7 +36,7 @@ import shutil
def dependencies(target, options):
deps = [
- ('libcxml', 'v0.17.9', options),
+ ('libcxml', 'v0.17.10', options),
('openjpeg', 'ad8edaacd54a862940d0a77c41ecda5858b54d6e'),
('asdcplib', 'v1.0.2')
]
@@ -59,6 +59,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 == 'centos' or (target.distro == 'ubuntu' and target.version == '16.04'):
+ cmd += ' --static-boost'
elif target.platform == 'windows':
cmd += f' --target-windows-{target.bits}'