mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-13 12:33:45 +00:00
20 lines
980 B
Diff
20 lines
980 B
Diff
Index: llvm-toolchain-7_7.1.0~svn353565/cmake/modules/AddLLVM.cmake
|
|
===================================================================
|
|
--- llvm-toolchain-7_7.1.0~svn353565.orig/cmake/modules/AddLLVM.cmake
|
|
+++ llvm-toolchain-7_7.1.0~svn353565/cmake/modules/AddLLVM.cmake
|
|
@@ -498,11 +498,9 @@ function(llvm_add_library name)
|
|
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})
|
|
+ # Since 4.0.0, the ABI version is indicated by the major version
|
|
+ SOVERSION ${LLVM_VERSION_MAJOR}${LLVM_VERSION_SUFFIX}
|
|
+ VERSION ${LLVM_VERSION_MAJOR}${LLVM_VERSION_SUFFIX})
|
|
endif()
|
|
endif()
|
|
|