BOOST_FILESYSTEM BOOST_THREAD BOOST_DATETIME BOOST_SIGNALS2 BOOST_REGEX
SAMPLERATE POSTPROC TIFF SSH DCP CXML GLIB LZMA XML++
CURL ZIP BZ2 FONTCONFIG PANGOMM CAIROMM XMLSEC SUB ICU NETTLE PNG JPEG LEQM_NRT
+ LIBZ
"""
if bld.env.TARGET_OSX:
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)