mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-13 04:13:48 +00:00
22 lines
1.0 KiB
Diff
22 lines
1.0 KiB
Diff
Index: llvm-toolchain-snapshot_3.7~svn241915/lldb/lib/Makefile
|
|
===================================================================
|
|
--- llvm-toolchain-snapshot_3.7~svn241915.orig/lldb/lib/Makefile
|
|
+++ llvm-toolchain-snapshot_3.7~svn241915/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)
|
|
@@ -190,7 +191,7 @@ ifeq ($(HOST_OS), $(filter $(HOST_OS), L
|
|
LLVMLibsOptions += -Wl,--no-undefined
|
|
# Link in python
|
|
LLVMLibsOptions += $(PYTHON_BUILD_FLAGS) -lrt -ledit -lncurses -lpanel -lpthread
|
|
- LLVMLibsOptions += -Wl,--soname,lib$(LIBRARYNAME)$(SHLIBEXT)
|
|
+ LLVMLibsOptions += -Wl,--soname,lib$(LIBRARYNAME)$(SHLIBEXT).$(SONAME_EXTENSION)
|
|
ifneq (,$(filter $(shell dpkg-architecture -qDEB_HOST_ARCH), mips mipsel powerpc powerpcspe))
|
|
# Link GCC atomic helper library
|
|
LLVMLibsOptions += -latomic
|