diff options
author | Sylvestre Ledru <sylvestre@debian.org> | 2013-01-17 16:59:32 +0000 |
---|---|---|
committer | Sylvestre Ledru <sylvestre@debian.org> | 2013-01-17 16:59:32 +0000 |
commit | 7f6a520b2cb98dc9def6664672b277fe7c159571 (patch) | |
tree | b760809a0f73a6350e0a2ebd1064768b619a08a6 /lldb/lib | |
parent | 4f1885a1096c3ac51cc0c0fa3d403aa21aa5d976 (diff) | |
download | bcm5719-llvm-7f6a520b2cb98dc9def6664672b277fe7c159571.tar.gz bcm5719-llvm-7f6a520b2cb98dc9def6664672b277fe7c159571.zip |
Under GNU/Linux & HURD, add a soname to the liblldb shared library.
llvm-svn: 172728
Diffstat (limited to 'lldb/lib')
-rw-r--r-- | lldb/lib/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/lib/Makefile b/lldb/lib/Makefile index 9f02129d0cd..b6a9e71433d 100644 --- a/lldb/lib/Makefile +++ b/lldb/lib/Makefile @@ -135,7 +135,7 @@ ifeq ($(HOST_OS),Darwin) 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 @@ ifeq ($(HOST_OS),Linux) LLVMLibsOptions += -Wl,--no-undefined # Link in python LLVMLibsOptions += $(PYTHON_BUILD_FLAGS) -lrt + LLVMLibsOptions += -Wl,--soname,lib$(LIBRARYNAME)$(SHLIBEXT) endif ifeq ($(HOST_OS),FreeBSD) |