llvm.org GIT mirror llvm / 1895fc9
Set soname for FreeBSD as well. Patch by Bernard Cafarelli! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153965 91177308-0d34-0410-b5e6-96231b3b80d8 Anton Korobeynikov 8 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
6666 # Include everything from the .a's into the shared library.
6767 LLVMLibsOptions := -Wl,--whole-archive $(LLVMLibsOptions) \
6868 -Wl,--no-whole-archive
69 # Add soname to the library.
70 LLVMLibsOptions += -Wl,--soname,lib$(LIBRARYNAME)$(SHLIBEXT)
6971 endif
7072
7173 ifeq ($(HOST_OS),Linux)
7274 # Don't allow unresolved symbols.
7375 LLVMLibsOptions += -Wl,--no-undefined
74 # Add soname to the library.
75 LLVMLibsOptions += -Wl,--soname,lib$(LIBRARYNAME)$(SHLIBEXT)
7676 endif
7777
7878 ifeq ($(HOST_OS),SunOS)