mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-28 22:20:37 +00:00
Add soname to LLVM shared library on Linux. Probably the same stuff is necessary for *BSD.
Patch from Mageia! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153324 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e959f7e17f
commit
d25dc3358b
@ -72,6 +72,8 @@ endif
|
|||||||
ifeq ($(HOST_OS),Linux)
|
ifeq ($(HOST_OS),Linux)
|
||||||
# Don't allow unresolved symbols.
|
# Don't allow unresolved symbols.
|
||||||
LLVMLibsOptions += -Wl,--no-undefined
|
LLVMLibsOptions += -Wl,--no-undefined
|
||||||
|
# Add soname to the library.
|
||||||
|
LLVMLibsOptions += -Wl,--soname,lib$(LIBRARYNAME)$(SHLIBEXT)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(HOST_OS),SunOS)
|
ifeq ($(HOST_OS),SunOS)
|
||||||
|
Loading…
Reference in New Issue
Block a user