llvm-toolchain/debian/patches/lldb-libname.diff
Sylvestre Ledru d13452ba59 * libclang-3.4.so should be used instead libclang.so. Update the soname
to match the new lib name (Closes: #759538)
* Rename liblldb.so to liblldb-3.4.so + update of the soname.
* python-clang-3.4 description updated
* liblldb-3.4 and python-lldb-3.4 added
* lldb-3.4-dev renamed to liblldb-3.4-dev to match the previous changes
* Manpages for llvm-ranlib, clang-apply-replacements, pp-trace and clang-tidy
  added
* clang-3.4 should depends on binutils (for ld, at least)
  (Closes: #751030)
2014-09-01 11:49:31 +00:00

14 lines
612 B
Diff

Index: llvm-toolchain-3.4-3.4.2/lldb/lib/Makefile
===================================================================
--- llvm-toolchain-3.4-3.4.2.orig/lldb/lib/Makefile
+++ llvm-toolchain-3.4-3.4.2/lldb/lib/Makefile
@@ -153,7 +153,7 @@ ifeq ($(HOST_OS), $(filter $(HOST_OS), L
# Link GCC atomic helper library
LLVMLibsOptions += -latomic
endif
- LLVMLibsOptions += -Wl,--soname,lib$(LIBRARYNAME)$(SHLIBEXT).$(SONAME_EXTENSION)
+ LLVMLibsOptions += -Wl,--soname,lib$(LIBRARYNAME)-$(LLVM_VERSION_MAJOR).$(LLVM_VERSION_MINOR)$(SHLIBEXT).$(SONAME_EXTENSION)
endif
ifeq ($(HOST_OS),FreeBSD)