[PATCH] D28730: [cmake] Update SOVERSION for the new versioning scheme
Michał Górny via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 17 13:15:19 PST 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rL292255: [cmake] Update SOVERSION for the new versioning scheme (authored by mgorny).
Changed prior to commit:
https://reviews.llvm.org/D28730?vs=84449&id=84733#toc
Repository:
rL LLVM
https://reviews.llvm.org/D28730
Files:
llvm/trunk/cmake/modules/AddLLVM.cmake
Index: llvm/trunk/cmake/modules/AddLLVM.cmake
===================================================================
--- llvm/trunk/cmake/modules/AddLLVM.cmake
+++ llvm/trunk/cmake/modules/AddLLVM.cmake
@@ -462,11 +462,9 @@
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}
+ VERSION ${LLVM_VERSION_MAJOR}.${LLVM_VERSION_MINOR}.${LLVM_VERSION_PATCH}${LLVM_VERSION_SUFFIX})
endif()
endif()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28730.84733.patch
Type: text/x-patch
Size: 897 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170117/783a236d/attachment.bin>
More information about the llvm-commits
mailing list