Fix rpathness on NetBSD again.

This commit is contained in:
Roy Marples 2008-01-11 18:55:46 +00:00
parent f0c0391088
commit 99ef274848

View File

@ -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})