Remove non standard -R option.
This commit is contained in:
parent
0334b0be2e
commit
f0c0391088
@ -9,7 +9,7 @@ include ${MK}/sys.mk
|
|||||||
# Some systems don't include /lib in their standard link path
|
# Some systems don't include /lib in their standard link path
|
||||||
# so we should embed it if different
|
# so we should embed it if different
|
||||||
_RPATH_SH= if test "${SHLIBDIR}" != "/usr/${LIBNAME}"; then \
|
_RPATH_SH= if test "${SHLIBDIR}" != "/usr/${LIBNAME}"; then \
|
||||||
echo "-Wl,-rpath-link,${DESTDIR}${SHLIBDIR}:${DESTDIR}/usr/lib -R${SHLIBDIR}"; \
|
echo "-Wl,-rpath-link,${DESTDIR}${SHLIBDIR}:${DESTDIR}/usr/lib"; \
|
||||||
fi
|
fi
|
||||||
_RPATH!= ${_RPATH_SH}
|
_RPATH!= ${_RPATH_SH}
|
||||||
LDFLAGS+= ${_RPATH}$(shell ${_RPATH_SH})
|
LDFLAGS+= ${_RPATH}$(shell ${_RPATH_SH})
|
||||||
|
Loading…
Reference in New Issue
Block a user