From: LLVM Packaging Team Date: Mon, 9 Jan 2017 20:24:17 +0000 (+0000) Subject: soname X-Git-Tag: archive/raspbian/1%3.8.1-17+rpi1~5^2~57 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=a25c0016ebd3f789681e129a90f1012aaaedfadb;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)