diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-12-23 20:24:41 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-01-04 10:48:59 +0100 |
| commit | b66dd5efe4c4d0a46f9bda339f0dce509ee14ac9 (patch) | |
| tree | a7c21e82d9388c2fa728b0174a90106cf6f86057 /wscript | |
| parent | c6c5e30d75800031b9ad06015f271865e148e538 (diff) | |
When building against macOS SDK 11.0 we need an explicit link with bz2.
Diffstat (limited to 'wscript')
| -rw-r--r-- | wscript | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -253,6 +253,18 @@ def configure(conf): define_name='DCPOMATIC_HAVE_ZIP_SOURCE_T' ) + # libbz2; must be explicitly linked on macOS for some reason + conf.check_cxx(fragment=""" + #include <bzlib.h> + int main() { BZ2_bzCompressInit(0, 0, 0, 0); } + """, + mandatory=True, + msg="Checking for libbz2", + okmsg='yes', + lib='bz2', + uselib_store="BZ2" + ) + # fontconfig conf.check_cfg(package='fontconfig', args='--cflags --libs', uselib_store='FONTCONFIG', mandatory=True) |
