Commit ea20c1e9 authored by Tom Stellard's avatar Tom Stellard
Browse files

Revert "[cmake] Update SOVERSION for the new versioning scheme"

This reverts commit r292255.

llvm-svn: 353247
parent f7211fd6
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -498,9 +498,11 @@ function(llvm_add_library name)
    if(UNIX AND NOT APPLE AND NOT ARG_SONAME)
      set_target_properties(${name}
        PROPERTIES
        # 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})
		# 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})
    endif()
  endif()