diff --git a/Makefile.rules b/Makefile.rules index 44379ed9430..6271bf51f7f 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