mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-10-04 16:01:46 +00:00
openbsd doesn't support soname, patch by Brad Smith!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155536 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3ef91f575e
commit
fa1059fd9c
@ -67,6 +67,9 @@ ifeq ($(HOST_OS), $(filter $(HOST_OS), Linux FreeBSD OpenBSD GNU))
|
|||||||
# Include everything from the .a's into the shared library.
|
# Include everything from the .a's into the shared library.
|
||||||
LLVMLibsOptions := -Wl,--whole-archive $(LLVMLibsOptions) \
|
LLVMLibsOptions := -Wl,--whole-archive $(LLVMLibsOptions) \
|
||||||
-Wl,--no-whole-archive
|
-Wl,--no-whole-archive
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(HOST_OS), $(filter $(HOST_OS), Linux FreeBSD GNU))
|
||||||
# Add soname to the library.
|
# Add soname to the library.
|
||||||
LLVMLibsOptions += -Wl,--soname,lib$(LIBRARYNAME)$(SHLIBEXT)
|
LLVMLibsOptions += -Wl,--soname,lib$(LIBRARYNAME)$(SHLIBEXT)
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user