projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e959f7e
)
Add soname to LLVM shared library on Linux. Probably the same stuff is necessary...
author
Anton Korobeynikov
<asl@math.spbu.ru>
Fri, 23 Mar 2012 10:00:42 +0000
(10:00 +0000)
committer
Anton Korobeynikov
<asl@math.spbu.ru>
Fri, 23 Mar 2012 10:00:42 +0000
(10:00 +0000)
Patch from Mageia!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153324
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/llvm-shlib/Makefile
patch
|
blob
|
history
diff --git
a/tools/llvm-shlib/Makefile
b/tools/llvm-shlib/Makefile
index 1d3567018220a8a76a607044d92ddf0f21b6af5d..6b358b674a22b1b787fb9d18f8ccc94cd105fa23 100644
(file)
--- a/
tools/llvm-shlib/Makefile
+++ b/
tools/llvm-shlib/Makefile
@@
-72,6
+72,8
@@
endif
ifeq ($(HOST_OS),Linux)
# Don't allow unresolved symbols.
LLVMLibsOptions += -Wl,--no-undefined
ifeq ($(HOST_OS),Linux)
# Don't allow unresolved symbols.
LLVMLibsOptions += -Wl,--no-undefined
+ # Add soname to the library.
+ LLVMLibsOptions += -Wl,--soname,lib$(LIBRARYNAME)$(SHLIBEXT)
endif
ifeq ($(HOST_OS),SunOS)
endif
ifeq ($(HOST_OS),SunOS)