• Dylan Baker's avatar
    meson: Fix build on macos · 5cd6c8f2
    Dylan Baker authored
    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
meson.build 1.78 KB