Skip to content

Commit

Permalink
Add soname to LLVM shared library on Linux. Probably the same stuff i…
Browse files Browse the repository at this point in the history
…s necessary for *BSD.

Patch from Mageia!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153324 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
asl committed Mar 23, 2012
1 parent e959f7e commit d25dc33
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/llvm-shlib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d25dc33

Please sign in to comment.