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:
3ef91f5
)
openbsd doesn't support soname, patch by Brad Smith!
author
Chris Lattner
<sabre@nondot.org>
Wed, 25 Apr 2012 06:37:20 +0000
(06:37 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 25 Apr 2012 06:37:20 +0000
(06:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155536
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 2d2e2c55b80d6beade10144e937f053c59fb31a2..75bee07d171dcea6a4eeb6b193732c2ce82e5d31 100644
(file)
--- a/
tools/llvm-shlib/Makefile
+++ b/
tools/llvm-shlib/Makefile
@@
-67,6
+67,9
@@
ifeq ($(HOST_OS), $(filter $(HOST_OS), Linux FreeBSD OpenBSD GNU))
# Include everything from the .a's into the shared library.
LLVMLibsOptions := -Wl,--whole-archive $(LLVMLibsOptions) \
-Wl,--no-whole-archive
+endif
+
+ifeq ($(HOST_OS), $(filter $(HOST_OS), Linux FreeBSD GNU))
# Add soname to the library.
LLVMLibsOptions += -Wl,--soname,lib$(LIBRARYNAME)$(SHLIBEXT)
endif