Fix rpathness on NetBSD again.
This commit is contained in:
parent
f0c0391088
commit
99ef274848
@ -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})
|
||||
|
Loading…
Reference in New Issue
Block a user