diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2019-01-02 13:02:13 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-01-02 13:02:13 +0000 |
commit | c5b3b45d75e75b3705fe9d9f9b2f43f3440e8b66 (patch) | |
tree | cdb906bed9589eea35d2678aa97cb1c6256ccc2b /community/llvm4/cmake-fix-libLLVM-name.patch | |
parent | 810640a980c8289f62b3de3e31aa4a109c5ea308 (diff) | |
download | aports-c5b3b45d75e75b3705fe9d9f9b2f43f3440e8b66.tar.bz2 aports-c5b3b45d75e75b3705fe9d9f9b2f43f3440e8b66.tar.xz |
unmaintained/llvm4: move from community
Seems like nothing uses it
Diffstat (limited to 'community/llvm4/cmake-fix-libLLVM-name.patch')
-rw-r--r-- | community/llvm4/cmake-fix-libLLVM-name.patch | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/community/llvm4/cmake-fix-libLLVM-name.patch b/community/llvm4/cmake-fix-libLLVM-name.patch deleted file mode 100644 index cb29fe2efc..0000000000 --- a/community/llvm4/cmake-fix-libLLVM-name.patch +++ /dev/null @@ -1,26 +0,0 @@ -Include version in name of shared libs - -libLLVM.so -> libLLVM-$MAJOR.$MINOR.so - -Source: http://pkgs.fedoraproject.org/cgit/rpms/llvm3.9.git/tree/llvm-soversion.patch?id=3dac83eaa5b88f550ae50125b14b8f644e10617b ---- a/cmake/modules/AddLLVM.cmake -+++ b/cmake/modules/AddLLVM.cmake -@@ -450,6 +450,18 @@ - PREFIX "" - ) - endif() -+ -+ # Set SOVERSION on shared libraries that lack explicit SONAME -+ # specifier, on *nix systems that are not Darwin. -+ if(UNIX AND NOT APPLE AND NOT ARG_SONAME) -+ set_target_properties(${name} -+ PROPERTIES -+ # Concatenate the version numbers since ldconfig expects exactly -+ # one component indicating the ABI version, while LLVM uses -+ # major+minor for that. -+ SOVERSION ${LLVM_VERSION_MAJOR}.${LLVM_VERSION_MINOR} -+ VERSION ${LLVM_VERSION_MAJOR}.${LLVM_VERSION_MINOR}.${LLVM_VERSION_PATCH}${LLVM_VERSION_SUFFIX}) -+ endif() - endif() - - if(ARG_MODULE OR ARG_SHARED) |