Add -L${DESTDIR}${LIBDIR} to ld's command line so that the right

libstand is used.
This commit is contained in:
Marcel Moolenaar 1999-12-15 18:16:56 +00:00
parent 24066d3209
commit bc16e96f49
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=54649

View File

@ -1,4 +1,5 @@
# $NetBSD: Makefile,v 1.15 1998/03/28 00:21:35 thorpej Exp $
# $FreeBSD$
.include <../Makefile.inc>
@ -38,5 +39,6 @@ start.o: ${.CURDIR}/../libalpha/start.S
${PROG}.sym: ${OBJS} ${LIBKERN}
${LD} -M -Ttext ${BOOT_RELOC} -N -e start -o ${PROG}.sym ${OBJS} \
${LIBSTAND} ${LIBALPHA} ${LIBSTAND} > ${.OBJDIR}/${PROG}.list
-L${DESTDIR}${LIBDIR} ${LIBSTAND} ${LIBALPHA} ${LIBSTAND} \
> ${.OBJDIR}/${PROG}.list
size ${PROG}.sym