diff options
| author | Anton Korobeynikov <asl@math.spbu.ru> | 2012-04-03 19:48:31 +0000 |
|---|---|---|
| committer | Anton Korobeynikov <asl@math.spbu.ru> | 2012-04-03 19:48:31 +0000 |
| commit | d0b458d694714313a6af519cd865582600e89bc1 (patch) | |
| tree | f02ec8b1d6f0c8f43c72529b75ed59383ae1a2b2 /llvm | |
| parent | 765792d5d1e3657b8ad0d43527d88df90fbaf1e9 (diff) | |
| download | bcm5719-llvm-d0b458d694714313a6af519cd865582600e89bc1.tar.gz bcm5719-llvm-d0b458d694714313a6af519cd865582600e89bc1.zip | |
Set soname for FreeBSD as well.
Patch by Bernard Cafarelli!
llvm-svn: 153965
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/tools/llvm-shlib/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/tools/llvm-shlib/Makefile b/llvm/tools/llvm-shlib/Makefile index 6b358b674a2..0035e3aebec 100644 --- a/llvm/tools/llvm-shlib/Makefile +++ b/llvm/tools/llvm-shlib/Makefile @@ -67,13 +67,13 @@ ifeq ($(HOST_OS), $(filter $(HOST_OS), Linux FreeBSD OpenBSD)) # Include everything from the .a's into the shared library. LLVMLibsOptions := -Wl,--whole-archive $(LLVMLibsOptions) \ -Wl,--no-whole-archive + # Add soname to the library. + LLVMLibsOptions += -Wl,--soname,lib$(LIBRARYNAME)$(SHLIBEXT) 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) |

