[PATCH] D39939: [cmake] Append LLVM_VERSION_SUFFIX to SOVERSION

Michał Górny via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 8 13:45:53 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL339286: [cmake] Append LLVM_VERSION_SUFFIX to SOVERSION (authored by mgorny, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D39939?vs=135789&id=159783#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D39939

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
@@ -499,7 +499,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_SUFFIX})
     endif()
   endif()


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39939.159783.patch
Type: text/x-patch
Size: 541 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180808/bea60e09/attachment.bin>


More information about the llvm-commits mailing list