aboutsummaryrefslogtreecommitdiff
path: root/mk/prog.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/prog.mk')
-rw-r--r--mk/prog.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/prog.mk b/mk/prog.mk
index a45543c8..cf1ea0a9 100644
--- a/mk/prog.mk
+++ b/mk/prog.mk
@@ -9,7 +9,7 @@ include ${MK}/sys.mk
# Some systems don't include /lib in their standard link path
# so we should embed it if different
_RPATH_SH= if test "${SHLIBDIR}" != "/usr/${LIBNAME}"; then \
- echo "-Wl,-rpath-link,${DESTDIR}${SHLIBDIR}:${DESTDIR}/usr/lib"; \
+ echo "-Wl,-rpath=/${LIBNAME}"; \
fi
_RPATH!= ${_RPATH_SH}
LDFLAGS+= ${_RPATH}$(shell ${_RPATH_SH})