1 diff --git a/Makefile.inc b/Makefile.inc
2 index 424d7b2e4..87934fee0 100644
5 @@ -918,7 +918,7 @@ ifneq (Darwin,$(UNAME))
6 XLNKVERBOSE := --verbose
7 linkopt = $(if $1,$(XLNKOPT)$(if $2,$1=$(call quote,$2),$1))
8 abslibrpath = $(strip $(if $(findstring .$(ILIBEXT),$1)$(wildcard $1/), \
9 - $(call linkopt,--rpath,$(call qxdir,$(call qapath,$1)))))
10 + $(call linkopt,--rpath,$(PREFIX)/lib)))
11 XGROUP_BEGIN := $(call linkopt,--start-group)
12 XGROUP_END := $(call linkopt,--end-group)