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:
fa5b050
)
Set soname for FreeBSD as well.
author
Anton Korobeynikov
<asl@math.spbu.ru>
Tue, 3 Apr 2012 19:48:31 +0000
(19:48 +0000)
committer
Anton Korobeynikov
<asl@math.spbu.ru>
Tue, 3 Apr 2012 19:48:31 +0000
(19:48 +0000)
Patch by Bernard Cafarelli!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153965
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 6b358b674a22b1b787fb9d18f8ccc94cd105fa23..0035e3aebeca833c9c4cd7942b34ddd10e0dc9be 100644
(file)
--- a/
tools/llvm-shlib/Makefile
+++ b/
tools/llvm-shlib/Makefile
@@
-67,13
+67,13
@@
ifeq ($(HOST_OS), $(filter $(HOST_OS), Linux FreeBSD OpenBSD))
# Include everything from the .a's into the shared library.
LLVMLibsOptions := -Wl,--whole-archive $(LLVMLibsOptions) \
-Wl,--no-whole-archive
+ # Add soname to the library.
+ LLVMLibsOptions += -Wl,--soname,lib$(LIBRARYNAME)$(SHLIBEXT)
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)