From: LLVM Packaging Team Date: Thu, 8 Sep 2016 08:39:51 +0000 (+0000) Subject: soname X-Git-Tag: archive/raspbian/1%3.8.1-17+rpi1~6^2^2~49 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=4c74b03687c19453d3ff41df730952f8f9b4d4b7;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)