mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-07-27 06:31:27 +00:00
Add the soname to liblldb
This commit is contained in:
parent
5c910ca801
commit
1ee781a75a
21
debian/patches/57-lldb-soname.diff
vendored
Normal file
21
debian/patches/57-lldb-soname.diff
vendored
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
Index: llvm-toolchain-3.2-3.2/tools/lldb/lib/Makefile
|
||||||
|
===================================================================
|
||||||
|
--- llvm-toolchain-3.2-3.2.orig/tools/lldb/lib/Makefile 2013-01-13 09:30:41.000000000 +0100
|
||||||
|
+++ llvm-toolchain-3.2-3.2/tools/lldb/lib/Makefile 2013-01-17 18:01:01.000000000 +0100
|
||||||
|
@@ -135,7 +135,7 @@
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
|
-ifeq ($(HOST_OS),Linux)
|
||||||
|
+ifeq ($(HOST_OS), $(filter $(HOST_OS), Linux GNU))
|
||||||
|
# Include everything from the .a's into the shared library.
|
||||||
|
ProjLibsOptions := -Wl,--whole-archive $(ProjLibsOptions) \
|
||||||
|
-Wl,--no-whole-archive
|
||||||
|
@@ -143,6 +143,7 @@
|
||||||
|
LLVMLibsOptions += -Wl,--no-undefined
|
||||||
|
# Link in python
|
||||||
|
LLVMLibsOptions += $(PYTHON_BUILD_FLAGS) -lrt
|
||||||
|
+ LLVMLibsOptions += -Wl,--soname,lib$(LIBRARYNAME)$(SHLIBEXT).1
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(HOST_OS),FreeBSD)
|
Loading…
Reference in New Issue
Block a user