From a4f46b71169a171aa8e38b6d85b76f63d9a9776a Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Sun, 8 Mar 1998 08:08:39 +0000 Subject: [PATCH] Set LIB_PATH explicitly otherwise genscripts makes (incorrect) references all over the place. --- gnu/usr.bin/binutils/i386-elf/ld/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/gnu/usr.bin/binutils/i386-elf/ld/Makefile b/gnu/usr.bin/binutils/i386-elf/ld/Makefile index d38f2b682701..763d68081952 100644 --- a/gnu/usr.bin/binutils/i386-elf/ld/Makefile +++ b/gnu/usr.bin/binutils/i386-elf/ld/Makefile @@ -1,5 +1,5 @@ # -# $Id$ +# $Id: Makefile,v 1.1.1.1 1998/03/01 23:41:02 jdp Exp $ # .include "../Makefile.inc0" @@ -31,13 +31,15 @@ beforedepend: eelf_i386.c ei386freebsd.c ldgram.c ldgram.h ldlex.c eelf_i386.c: emulparams/elf_i386.sh emultempl/elf32.em \ scripttempl/elf.sc genscripts.sh emultempl/stringify.sed - sh ${SRCDIR}/ld/genscripts.sh ${SRCDIR}/ld ${DESTDIR}/usr/lib \ + env LIB_PATH="/usr/lib" \ + sh ${SRCDIR}/ld/genscripts.sh ${SRCDIR}/ld ${DESTDIR}/usr/lib \ ${HOST} ${TARGET} ${TARGET} ${EMULATION} "" \ ${EMULATION} ${TARGET} ei386freebsd.c: emulparams/elf_i386.sh emultempl/elf32.em \ scripttempl/elf.sc genscripts.sh emultempl/stringify.sed - sh ${SRCDIR}/ld/genscripts.sh ${SRCDIR}/ld ${DESTDIR}/usr/lib \ + env LIB_PATH="/usr/lib" \ + sh ${SRCDIR}/ld/genscripts.sh ${SRCDIR}/ld ${DESTDIR}/usr/lib \ ${HOST} ${TARGET} ${TARGET} ${EMULATION} "" \ i386freebsd i386-unknown-freebsd