summaryrefslogtreecommitdiff
path: root/Makefile.rules
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-12-08 02:29:26 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-12-08 02:29:26 +0000
commit94038281af41dab4bff4874d02932b50f70eb6f8 (patch)
treefcde044cfa7983a60c23b313ebcffaab96e769f6 /Makefile.rules
parent73e36daaadfbae0782c202f96c9acb7870c0c0de (diff)
downloadllvm-94038281af41dab4bff4874d02932b50f70eb6f8.tar.gz
llvm-94038281af41dab4bff4874d02932b50f70eb6f8.tar.bz2
llvm-94038281af41dab4bff4874d02932b50f70eb6f8.tar.xz
build: Shared libraries shouldn't used RPATH on Darwin, only main executables
should use that. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121231 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules4
1 files changed, 0 insertions, 4 deletions
diff --git a/Makefile.rules b/Makefile.rules
index 6d2d694f62..cb439d3676 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -526,10 +526,6 @@ ifdef SHARED_LIBRARY
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