From 604a4e41b60f575fa3a0573aba5170c4d0f331eb Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 3 Sep 2024 20:11:35 +0200 Subject: Allow libcxml and libdcp builds with static boost. --- cscript | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'cscript') 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}' -- cgit v1.2.3