[PATCH] D39939: [cmake] Append LLVM_VERSION_SUFFIX to SOVERSION
Michał Górny via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Feb 24 02:01:40 PST 2018
mgorny updated this revision to Diff 135789.
mgorny retitled this revision from "[cmake] Allow appending a free-form suffix to SOVERSION" to "[cmake] Append LLVM_VERSION_SUFFIX to SOVERSION".
mgorny edited the summary of this revision.
mgorny added a comment.
@beanz, updated as requested.
https://reviews.llvm.org/D39939
Files:
cmake/modules/AddLLVM.cmake
Index: cmake/modules/AddLLVM.cmake
===================================================================
--- cmake/modules/AddLLVM.cmake
+++ cmake/modules/AddLLVM.cmake
@@ -485,7 +485,7 @@
set_target_properties(${name}
PROPERTIES
# Since 4.0.0, the ABI version is indicated by the major version
- SOVERSION ${LLVM_VERSION_MAJOR}
+ SOVERSION ${LLVM_VERSION_MAJOR}${LLVM_VERSION_SUFFIX}
VERSION ${LLVM_VERSION_MAJOR}.${LLVM_VERSION_MINOR}.${LLVM_VERSION_PATCH}${LLVM_VERSION_SUFFIX})
endif()
endif()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39939.135789.patch
Type: text/x-patch
Size: 552 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180224/f7ecbc37/attachment.bin>
More information about the llvm-commits
mailing list