Skip to content

meson: Fix build on macos

Dylan Baker requested to merge dcbaker/bzip2:meson-macos into master

There is a bug in meson's Compiler.has_function_attribute('visibility'), which results in it incorrectly returning False on macos. This causes meson to not defined BZ_EXTERN, but the gnu_symbol_visibility results in hidden by default symbols. This means that there are no visible symbols in libbz2 at all and linking naturally fails.

Fixes #18 (closed)

Merge request reports

Loading