summaryrefslogtreecommitdiff
path: root/Makefile.rules
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules2
1 files changed, 0 insertions, 2 deletions
diff --git a/Makefile.rules b/Makefile.rules
index 44379ed943..6271bf51f7 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -622,7 +622,6 @@ endif
# Adjust linker flags for building an executable
ifneq ($(HOST_OS),Darwin)
-ifneq ($(DARWIN_MAJVERS),4)
ifdef TOOLNAME
LD.Flags += $(RPATH) -Wl,'$$ORIGIN/../lib'
ifdef EXAMPLE_TOOL
@@ -631,7 +630,6 @@ ifdef TOOLNAME
LD.Flags += $(RPATH) -Wl,$(ToolDir) $(RDYNAMIC)
endif
endif
-endif
else
ifneq ($(DARWIN_MAJVERS),4)
LD.Flags += $(RPATH) -Wl,@executable_path/../lib