From: Rafael Espindola Date: Thu, 23 May 2013 02:53:22 +0000 (+0000) Subject: Remove redundant rpath. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1529f0c7188ad21c598ffb748caf0dfa54b6a469;hp=b58484ecd64647b6d7ec9ad2886a3d519df22076;p=oota-llvm.git Remove redundant rpath. These are not needed since we added the $ORIGIN based rpath. Fixes pr12517. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182559 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/Makefile.rules b/Makefile.rules index c4840c4e60b..9cc6a2d927c 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -639,12 +639,7 @@ endif ifneq ($(HOST_OS), $(filter $(HOST_OS), Cygwin MingW)) ifneq ($(HOST_OS), Darwin) ifdef TOOLNAME - LD.Flags += $(RPATH) -Wl,'$$ORIGIN/../lib' - ifdef EXAMPLE_TOOL - LD.Flags += $(RPATH) -Wl,$(ExmplDir) $(DynamicFlag) - else - LD.Flags += $(RPATH) -Wl,$(ToolDir) $(DynamicFlag) - endif + LD.Flags += $(RPATH) -Wl,'$$ORIGIN/../lib' $(DynamicFlag) endif else ifneq ($(DARWIN_MAJVERS),4)