diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-03-10 04:58:28 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-03-10 04:58:28 +0000 |
commit | 85d91d9382e6cb69db2924c9e676fc8d8a6d25ff (patch) | |
tree | a0f482fab77a45f506b07bfef7c71720c222adc3 /user/llvm6/cmake-fix-libLLVM-name.patch | |
parent | c23245949e225b85a221a13fb24238473306cb0b (diff) | |
download | packages-85d91d9382e6cb69db2924c9e676fc8d8a6d25ff.tar.gz packages-85d91d9382e6cb69db2924c9e676fc8d8a6d25ff.tar.bz2 packages-85d91d9382e6cb69db2924c9e676fc8d8a6d25ff.tar.xz packages-85d91d9382e6cb69db2924c9e676fc8d8a6d25ff.zip |
user/llvm: bump to 7.0.1
Diffstat (limited to 'user/llvm6/cmake-fix-libLLVM-name.patch')
-rw-r--r-- | user/llvm6/cmake-fix-libLLVM-name.patch | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/user/llvm6/cmake-fix-libLLVM-name.patch b/user/llvm6/cmake-fix-libLLVM-name.patch deleted file mode 100644 index cb29fe2ef..000000000 --- a/user/llvm6/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) |