diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-07-20 15:16:20 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-07-20 15:16:20 +0200 |
| commit | af05347810883ec86ae184d721c2b6c2df56eee7 (patch) | |
| tree | a0c06d43f7280367f6d79799dffd72b42862e394 /wscript | |
| parent | 7f97a21bf833ddd63f54acd75a11f63c8f435d44 (diff) | |
fixup! Find libasdcp-dcpomatic and xerces-c in a less flaky way.
Diffstat (limited to 'wscript')
| -rw-r--r-- | wscript | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -169,12 +169,11 @@ def configure(conf): conf.check_cfg(package='xerces-c', args='--cflags --libs', uselib_store='XERCES', mandatory=True) if conf.options.static: conf.env.STLIB_OPENJPEG = ['openjp2'] - libs = ['asdcp-dcpomatic', 'kumu-dcpomatic'] - for lib in libs: - conf.env.LIB_ASDCPLIB_DCPOMATIC.remove(lib) - conf.env.STLIB_ASDCPLIB_DCPOMATIC = libs - conf.env.LIB_CXML.remove('cxml') - conf.env.STLIB_CXML.append('cxml') + for lib in ('asdcp-dcpomatic', 'kumu-dcpomatic'): + conf.env['LIB_ASDCPLIB_DCPOMATIC'].remove(lib) + conf.env.append_value('STLIB_ASDCPLIB_DCPOMATIC', lib) + conf.env['LIB_CXML'].remove('cxml') + conf.env.append_value('STLIB_CXML', 'cxml') if conf.env.TARGET_WINDOWS_64 or conf.env.TARGET_WINDOWS_32: # XXX: it feels like there should be a more elegant way to get these included |
