[llvm-commits] [llvm] r155536 - /llvm/trunk/tools/llvm-shlib/Makefile

Chris Lattner sabre at nondot.org
Tue Apr 24 23:37:21 PDT 2012


Author: lattner
Date: Wed Apr 25 01:37:20 2012
New Revision: 155536

URL: http://llvm.org/viewvc/llvm-project?rev=155536&view=rev
Log:
openbsd doesn't support soname, patch by Brad Smith!


Modified:
    llvm/trunk/tools/llvm-shlib/Makefile

Modified: llvm/trunk/tools/llvm-shlib/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-shlib/Makefile?rev=155536&r1=155535&r2=155536&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-shlib/Makefile (original)
+++ llvm/trunk/tools/llvm-shlib/Makefile Wed Apr 25 01:37:20 2012
@@ -67,6 +67,9 @@
     # Include everything from the .a's into the shared library.
     LLVMLibsOptions := -Wl,--whole-archive $(LLVMLibsOptions) \
                        -Wl,--no-whole-archive
+endif
+
+ifeq ($(HOST_OS), $(filter $(HOST_OS), Linux FreeBSD GNU))
     # Add soname to the library.
     LLVMLibsOptions += -Wl,--soname,lib$(LIBRARYNAME)$(SHLIBEXT)
 endif





More information about the llvm-commits mailing list