summaryrefslogtreecommitdiff
path: root/Makefile.rules
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules7
1 files changed, 1 insertions, 6 deletions
diff --git a/Makefile.rules b/Makefile.rules
index c4840c4e60..9cc6a2d927 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)