llvm-toolchain/debian/patches/18-soname.patch
Sylvestre Ledru 41db38af1c * sync from 1:3.4.2-9~exp1
* libclang-3.5.so should be used instead libclang.so. Update the soname
  to match the new lib name (Closes: #759538)
* Rename liblldb.so to liblldb-3.5.so + update of the soname.
* python-clang-3.5 description updated
* liblldb-3.5 and python-lldb-3.5 added
* lldb-3.5-dev renamed to liblldb-3.5-dev to match the previous changes
* Manpages for llvm-ranlib, clang-apply-replacements, pp-trace and clang-tidy
  added
* clang-3.5 should depends on binutils (for ld, at least)
  (Closes: #751030)
* clang/www/analyzer/scripts/dbtree.js removed
* Try to bring back lldb-3.4-dev on mips & mipsel (Closes: #758314)
* Upload in unstable
* Try to bring back lldb on mips & mipsel
* Force scan-build to use the same version of clang
* Try to fix hurd (hurd-EIEIO-undef.diff)
* New snapshot release
* New snapshot release
* Cherry-pick to commit from upstream (revisions 214906 214907)
  to improve the gcc compat
* Remove scan-build-clang-path.diff (applied upstream)
* Just like in 3.4, bring back lldb & lldb-dev under mips & mipsel
* Fix the version
* try to build lldb-gdbserver under kfreebsd (kfreebsd-lldb-gdbserver.diff)
* Second try to fix build under HURD (hurd-EIEIO-undef.diff)
* New snapshot release
* Enable compressed debug sections (Closes: #757002)
* Force scan-build to use the same version of clang
* Bring back scan-build-search-path.diff (Closes: #757219)
2014-09-02 07:24:26 +00:00

22 lines
912 B
Diff

Index: llvm-toolchain-snapshot_3.6~svn214630/clang/tools/libclang/Makefile
===================================================================
--- llvm-toolchain-snapshot_3.6~svn214630.orig/clang/tools/libclang/Makefile
+++ llvm-toolchain-snapshot_3.6~svn214630/clang/tools/libclang/Makefile
@@ -14,6 +14,7 @@ EXPORTED_SYMBOL_FILE = $(PROJ_SRC_DIR)/l
LINK_LIBS_IN_SHARED = 1
SHARED_LIBRARY = 1
+SONAME_MAJOR=1
include $(CLANG_LEVEL)/../../Makefile.config
LINK_COMPONENTS := AsmParser BitReader Core MC MCParser Option Support
@@ -34,7 +35,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)
endif
ifeq ($(ENABLE_CLANG_ARCMT),1)