File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -498,9 +498,11 @@ function(llvm_add_library name)
498
498
if (UNIX AND NOT APPLE AND NOT ARG_SONAME )
499
499
set_target_properties (${name}
500
500
PROPERTIES
501
- # Since 4.0.0, the ABI version is indicated by the major version
502
- SOVERSION ${LLVM_VERSION_MAJOR}
503
- VERSION ${LLVM_VERSION_MAJOR} .${LLVM_VERSION_MINOR}.${LLVM_VERSION_PATCH}${LLVM_VERSION_SUFFIX} )
501
+ # Concatenate the version numbers since ldconfig expects exactly
502
+ # 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} )
504
506
endif ()
505
507
endif ()
506
508
You can’t perform that action at this time.
0 commit comments