[llvm-commits] [llvm] r121231 - /llvm/trunk/Makefile.rules

Daniel Dunbar daniel at zuster.org
Tue Dec 7 18:29:27 PST 2010


Author: ddunbar
Date: Tue Dec  7 20:29:26 2010
New Revision: 121231

URL: http://llvm.org/viewvc/llvm-project?rev=121231&view=rev
Log:
build: Shared libraries shouldn't used RPATH on Darwin, only main executables
should use that.

Modified:
    llvm/trunk/Makefile.rules

Modified: llvm/trunk/Makefile.rules
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/Makefile.rules?rev=121231&r1=121230&r2=121231&view=diff
==============================================================================
--- llvm/trunk/Makefile.rules (original)
+++ llvm/trunk/Makefile.rules Tue Dec  7 20:29:26 2010
@@ -526,10 +526,6 @@
 ifneq ($(HOST_OS), $(filter $(HOST_OS), Cygwin MingW))
 ifneq ($(HOST_OS),Darwin)
   LD.Flags += $(RPATH) -Wl,'$$ORIGIN'
-else
-ifneq ($(DARWIN_MAJVERS),4)
-  LD.Flags += $(RPATH) -Wl,$(SharedLibDir)
-endif
 endif
 endif
 endif





More information about the llvm-commits mailing list