diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-01-20 16:50:38 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-01-20 16:50:38 +0100 |
| commit | baf6f95e13c969da1f6fe430a95ca9bd40051485 (patch) | |
| tree | e468aefdece1639cccca6d66b45819e0d593201a /wscript | |
| parent | a7b6fe096f6072c97a1174cc2b8945fa9486fc4f (diff) | |
Explicitly link zlib to keep new macOS environment happy.
Diffstat (limited to 'wscript')
| -rw-r--r-- | wscript | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -278,6 +278,18 @@ def configure(conf): uselib_store="BZ2" ) + # libz; must be explicitly linked on macOS for some reason + conf.check_cxx(fragment=""" + #include <zlib.h> + int main() { zlibVersion(); } + """, + mandatory=True, + msg="Checking for libz", + okmsg='yes', + lib='z', + uselib_store="LIBZ" + ) + # fontconfig conf.check_cfg(package='fontconfig', args='--cflags --libs', uselib_store='FONTCONFIG', mandatory=True) |
