From: LLVM Packaging Team Date: Tue, 25 Apr 2017 17:46:34 +0000 (+0000) Subject: soname X-Git-Tag: archive/raspbian/1%3.8.1-23+rpi1~3^2~58 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=0f8d66ea26c978ef7b044e19a1af4ed9add2519f;p=llvm-toolchain-3.8.git soname =================================================================== Gbp-Pq: Name 18-soname.patch --- diff --git a/clang/tools/libclang/Makefile b/clang/tools/libclang/Makefile index 84914e0f..9153e28f 100644 --- a/clang/tools/libclang/Makefile +++ b/clang/tools/libclang/Makefile @@ -14,6 +14,7 @@ EXPORTED_SYMBOL_FILE = $(PROJ_SRC_DIR)/libclang.exports LINK_LIBS_IN_SHARED = 1 SHARED_LIBRARY = 1 +SONAME_MAJOR=1 include $(CLANG_LEVEL)/../../Makefile.config LINK_COMPONENTS := $(TARGETS_TO_BUILD) asmparser bitreader bitwriter core \ @@ -36,7 +37,7 @@ include $(CLANG_LEVEL)/Makefile # Add soname to the library. ifeq ($(HOST_OS), $(filter $(HOST_OS), Linux FreeBSD GNU GNU/kFreeBSD)) - LLVMLibsOptions += -Wl,-soname,lib$(LIBRARYNAME)$(SHLIBEXT) + LLVMLibsOptions += -Wl,-soname,lib$(LIBRARYNAME)-$(LLVM_VERSION_MAJOR).$(LLVM_VERSION_MINOR)$(SHLIBEXT).$(SONAME_MAJOR) endif ifeq ($(ENABLE_CLANG_ARCMT),1)