• 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
    5cd6c8f2
Name
Last commit
Last update
cmake Loading commit data...
docs Loading commit data...
man Loading commit data...
tests Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
AUTHORS Loading commit data...
CMakeLists.txt Loading commit data...
CMakeOptions.txt Loading commit data...
COMPILING.md Loading commit data...
COPYING Loading commit data...
NEWS Loading commit data...
NEWS-pre-1.0.7 Loading commit data...
README.XML.STUFF Loading commit data...
README.md Loading commit data...
blocksort.c Loading commit data...
bzdiff Loading commit data...
bzgrep Loading commit data...
bzip2.c Loading commit data...
bzip2.doap Loading commit data...
bzip2.pc.in Loading commit data...
bzip2.txt Loading commit data...
bzip2recover.c Loading commit data...
bzlib.c Loading commit data...
bzlib.h Loading commit data...
bzlib_private.h Loading commit data...
bzmore Loading commit data...
code-of-conduct.md Loading commit data...
compress.c Loading commit data...
crctable.c Loading commit data...
decompress.c Loading commit data...
dlltest.c Loading commit data...
dlltest.dsp Loading commit data...
huffman.c Loading commit data...
libbz2.def Loading commit data...
libbz2.dsp Loading commit data...
makefile.msc Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...
mk251.c Loading commit data...
patches-not-included.txt Loading commit data...
randtable.c Loading commit data...
spewG.c Loading commit data...
unzcrash.c Loading commit data...
version.rc Loading commit data...
version.rc.in Loading commit data...