llvm-toolchain/debian/patches/lldb-soname.diff
Sylvestre Ledru 4eef1d0ee1 * Fix the soname of liblldb.so to see it treated as a real library
(Closes: #750868)
* Switch to the default gcc/g++ compiler. Currently 4.9 (Closes: #751322)
2014-06-16 10:05:45 +00:00

22 lines
812 B
Diff

Index: llvm-toolchain-3.4_3.4~svn209031/lldb/lib/Makefile
===================================================================
--- llvm-toolchain-3.4_3.4~svn209031.orig/lldb/lib/Makefile
+++ llvm-toolchain-3.4_3.4~svn209031/lldb/lib/Makefile
@@ -16,6 +16,7 @@ LIBRARYNAME = lldb
NO_BUILD_ARCHIVE = 1
LINK_LIBS_IN_SHARED = 1
SHARED_LIBRARY = 1
+SONAME_EXTENSION = 1
ifeq (,$(findstring -DLLDB_DISABLE_PYTHON,$(CXXFLAGS)))
PYTHON_BUILD_FLAGS = $(shell python-config --ldflags)
@@ -152,7 +153,7 @@ ifeq ($(HOST_OS), $(filter $(HOST_OS), L
# Link GCC atomic helper library
LLVMLibsOptions += -latomic
endif
- LLVMLibsOptions += -Wl,--soname,lib$(LIBRARYNAME)$(SHLIBEXT)
+ LLVMLibsOptions += -Wl,--soname,lib$(LIBRARYNAME)$(SHLIBEXT).$(SONAME_EXTENSION)
endif
ifeq ($(HOST_OS),FreeBSD)