llvm.org GIT mirror llvm / e47eb27
Merging r208721: ------------------------------------------------------------------------ r208721 | thomas.stellard | 2014-05-13 15:37:03 -0400 (Tue, 13 May 2014) | 11 lines autoconf: Fix soname for libLLVM-Major.Minor.so (2nd try) 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/branches/release_34@208829 91177308-0d34-0410-b5e6-96231b3b80d8 Tom Stellard 6 years ago
2 changed file(s) with 14 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
10261026 LLVMLibsOptions += -Wl,--enable-auto-import,--enable-runtime-pseudo-reloc \
10271027 -L $(SharedLibDir)
10281028 endif
1029 LLVMLibsOptions += -lLLVM-$(LLVMVersion)
1030 LLVMLibsPaths += $(SharedLibDir)/$(SharedPrefix)LLVM-$(LLVMVersion)$(SHLIBEXT)
1029 LLVM_SO_NAME = LLVM-$(LLVM_VERSION_MAJOR).$(LLVM_VERSION_MINOR)$(LLVM_VERSION_SUFFIX)
1030 LLVMLibsOptions += -l$(LLVM_SO_NAME)
1031 LLVMLibsPaths += $(SharedLibDir)/$(SharedPrefix)$(LLVM_SO_NAME)$(SHLIBEXT)
10311032 else
10321033
10331034 ifndef NO_LLVM_CONFIG
11431144 #---------------------------------------------------------
11441145 ifdef SHARED_LIBRARY
11451146
1146 all-local:: $(LibName.SO)
1147 all-local:: $(AliasName.SO)
1148
1149 $(AliasName.SO): $(LibName.SO)
1150 ifdef SHARED_ALIAS
1151 $(Verb) $(AliasTool) $(BaseLibName.SO) $(AliasName.SO)
1152 endif
11471153
11481154 ifdef EXPORTED_SYMBOL_FILE
11491155 $(LibName.SO): $(NativeExportsFile)
12011207 uninstall-local::
12021208 $(Echo) Uninstalling $(BuildMode) Shared Library $(DestSharedLib)
12031209 -$(Verb) $(RM) -f $(DestSharedLib)
1210 ifdef SHARED_ALIAS
1211 -$(Verb) $(RM) -f $(DestSharedAlias)
1212 endif
12041213 endif
12051214 endif
12061215
88
99 LEVEL := ../..
1010
11 LIBRARYNAME = LLVM-$(LLVMVersion)
12 LIBRARYALIASNAME = LLVM-$(LLVM_VERSION_MAJOR).$(LLVM_VERSION_MINOR)$(LLVM_VERSION_SUFFIX)
11 LIBRARYNAME = LLVM-$(LLVM_VERSION_MAJOR).$(LLVM_VERSION_MINOR)$(LLVM_VERSION_SUFFIX)
12 LIBRARYALIASNAME = LLVM-$(LLVMVersion)
1313
1414 NO_BUILD_ARCHIVE := 1
1515 LINK_LIBS_IN_SHARED := 1