From e649b75296829a079dc49e7596fb450b355dea22 Mon Sep 17 00:00:00 2001 From: mrg Date: Sat, 23 Aug 2003 10:07:25 +0000 Subject: [PATCH] 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... --- tools/gcc/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/gcc/Makefile b/tools/gcc/Makefile index 73862d73e3df..f620876d9a0c 100644 --- a/tools/gcc/Makefile +++ b/tools/gcc/Makefile @@ -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 @@ -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}/../..