projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add soname to LLVM shared library on Linux. Probably the same stuff is necessary...
[oota-llvm.git]
/
tools
/
llvm-shlib
/
Makefile
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
+ # Add soname to the library.
+ LLVMLibsOptions += -Wl,--soname,lib$(LIBRARYNAME)$(SHLIBEXT)
endif
ifeq ($(HOST_OS),SunOS)