We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents fb0030c + dd3329a commit 4a398bfCopy full SHA for 4a398bf
cmake/modules/AddLLVM.cmake
@@ -498,8 +498,10 @@ function(llvm_add_library name)
498
if(UNIX AND NOT APPLE AND NOT ARG_SONAME)
499
set_target_properties(${name}
500
PROPERTIES
501
- # Since 4.0.0, the ABI version is indicated by the major version
502
- SOVERSION ${LLVM_VERSION_MAJOR}
+ # Concatenate the version numbers since ldconfig expects exactly
+ # one component indicating the ABI version, while LLVM uses
503
+ # major+minor for that.
504
+ SOVERSION ${LLVM_VERSION_MAJOR}.${LLVM_VERSION_MINOR}
505
VERSION ${LLVM_VERSION_MAJOR}.${LLVM_VERSION_MINOR}.${LLVM_VERSION_PATCH}${LLVM_VERSION_SUFFIX})
506
endif()
507
0 commit comments