[all-commits] [llvm/llvm-project] 4cc7a7: [llvm-shlib] Change libLLVM-$MAJOR.so symlink to p...
Tom Stellard via All-commits
all-commits at lists.llvm.org
Mon Feb 26 16:57:53 PST 2024
Branch: refs/heads/release/18.x
Home: https://github.com/llvm/llvm-project
Commit: 4cc7a75aa6ac272a5774ef7ca3f6b2ad095425e3
https://github.com/llvm/llvm-project/commit/4cc7a75aa6ac272a5774ef7ca3f6b2ad095425e3
Author: Tom Stellard <tstellar at redhat.com>
Date: 2024-02-26 (Mon, 26 Feb 2024)
Changed paths:
M llvm/cmake/modules/AddLLVM.cmake
M llvm/tools/llvm-shlib/CMakeLists.txt
Log Message:
-----------
[llvm-shlib] Change libLLVM-$MAJOR.so symlink to point to versioned SO (#82660)
This symlink was added in 91a384621e5b762d9c173ffd247cfeadd5f436a2 to
maintain backwards compatibility, but it needs to point to
libLLVM.so.$MAJOR.$MINOR rather than libLLVM.so. This works better for
distros that ship libLLVM.so and libLLVM.so.$MAJOR.$MINOR in separate
packages and also prevents mistakes like
libLLVM-19.so -> libLLVM.so -> libLLVM.so.18.1
Fixes #82647
(cherry picked from commit 10c48a772742b7afe665a815b7eba2047f17dc4b)
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list