From: LLVM Packaging Team Date: Sun, 12 Mar 2017 08:49:18 +0000 (+0000) Subject: soname X-Git-Tag: archive/raspbian/1%3.8.1-18+rpi1^2~57 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=00e196f591a5c9360e557155400236e38bcebae9;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)