]> git.ipfire.org Git - thirdparty/xz.git/commit
CMake: Disable symbol versioning on non-glibc Linux.
authorLasse Collin <lasse.collin@tukaani.org>
Wed, 13 Mar 2024 19:17:10 +0000 (21:17 +0200)
committerLasse Collin <lasse.collin@tukaani.org>
Tue, 21 May 2024 21:34:26 +0000 (00:34 +0300)
commit13a0a0fc8fc9db6837f7d42fc3e279ca8cccff8f
tree1e8b5ae95fb4527991246c70ae1131793e3114aa
parent706134d965c39e42ea69edaab178b2d03c915b2c
CMake: Disable symbol versioning on non-glibc Linux.

This better matches what configure.ac does. For example, musl has
only basic symbol versioning support:

https://wiki.musl-libc.org/functional-differences-from-glibc.html#Symbol_versioning

configure.ac tries to enable symbol versioning only with glibc
so now CMake does the same.

(cherry picked from commit 2ad7fad67080e88fa7fc191f9d613d8b7add9c62)
(cherry picked from commit 78a015e753d40d604952d6c1e4428c5f440ea6b9)
CMakeLists.txt