forked from OSchip/llvm-project
Remove redundant rpath.
These are not needed since we added the $ORIGIN based rpath. Fixes pr12517. llvm-svn: 182559
This commit is contained in:
parent
1250a307f6
commit
d02e7e5693
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue