]> git.ipfire.org Git - thirdparty/zstd.git/commit
meson: set the symbol visibility of the shared library to hidden 2746/head
authorEli Schwartz <eschwartz@archlinux.org>
Mon, 9 Aug 2021 01:43:59 +0000 (21:43 -0400)
committerEli Schwartz <eschwartz@archlinux.org>
Tue, 10 Aug 2021 02:03:17 +0000 (22:03 -0400)
commit9748608aeb6a68ca622268eb8ba07e9003079e8f
treee84a1644ce05334c484f2caf6fcce99be12e1a5c
parentd95a3f50973592184f956cf937cc1aedca4e464c
meson: set the symbol visibility of the shared library to hidden

This matches the Makefile build. Due to one private xxhash symbol in use
by the program, it recompiles a private copy of xxhash.

Due to the test binaries making extensive (?) use of private symbols, it
doesn't even attempt to link to shared libzstd, and instead, all of the
original object files are added to libtestcommon itself for private
linkage. This, too, matches the Makefile build.

Ref. #2261
build/meson/lib/meson.build
build/meson/meson.build
build/meson/programs/meson.build
build/meson/tests/meson.build