for mknative, make sure we look in the target's /lib directly as the

symlinks in the /usr/lib directory point (absolutely) to "/lib/libfoo.so",
which ends up being quite invalid when target!=host...
This commit is contained in:
mrg 2003-08-23 10:07:25 +00:00
parent 75219318a9
commit e649b75296
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.5 2003/08/21 23:53:12 mrg Exp $
# $NetBSD: Makefile,v 1.6 2003/08/23 10:07:25 mrg Exp $
.include <bsd.own.mk>
@ -26,7 +26,7 @@ INSTALL_TARGET= install-gcc
.include "${.CURDIR}/../Makefile.gnuhost"
CCADDFLAGS= -isystem ${DESTDIR}/usr/include -isystem-cxx ${DESTDIR}/usr/include/g++ -L${DESTDIR}/usr/lib -B${DESTDIR}/usr/lib/
CCADDFLAGS= -isystem ${DESTDIR}/usr/include -isystem-cxx ${DESTDIR}/usr/include/g++ -L${DESTDIR}/lib -L${DESTDIR}/usr/lib -B${DESTDIR}/usr/lib/
NEWCONFIGDIR?= ${.CURDIR}/../..