autoconf: Fix soname for libLLVM-Major.Minor.so
authorTom Stellard <thomas.stellard@amd.com>
Tue, 13 May 2014 16:18:55 +0000 (16:18 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Tue, 13 May 2014 16:18:55 +0000 (16:18 +0000)
We were using libLLVM-Major.Minor.Patch.so for the soname, but we
need the soname to stay consistent for all Major.Minor.* releases
otherwise operating system distributors  will need to rebuild all
packages that link with LLVM every time there is a new point release.

This patch also reverses the compatibility symlink, so
libLLVM-Major.Minor.Patch.so is now a symlink that points
to libLLVM-Major-Minor.so.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208708 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvm-shlib/Makefile

index 7bbc24cae7a7d4605a8de8ea29414265d4a159d3..19077a3858a6a5cb7aa0342faaa392c118f219f2 100644 (file)
@@ -9,8 +9,8 @@
 
 LEVEL := ../..
 
-LIBRARYNAME = LLVM-$(LLVMVersion)
-LIBRARYALIASNAME = LLVM-$(LLVM_VERSION_MAJOR).$(LLVM_VERSION_MINOR)$(LLVM_VERSION_SUFFIX)
+LIBRARYNAME = LLVM-$(LLVM_VERSION_MAJOR).$(LLVM_VERSION_MINOR)$(LLVM_VERSION_SUFFIX)
+LIBRARYALIASNAME = LLVM-$(LLVMVersion)
 
 NO_BUILD_ARCHIVE := 1
 LINK_LIBS_IN_SHARED := 1