Look for libstand in the built tree rather than in /usr/lib. This

likely could be done better, but the tree is broken and I wanted to
get a fix into the tree.

Reviewed by: msmith
This commit is contained in:
imp 2000-09-08 04:26:55 +00:00
parent ead12b3bec
commit 9795d67faf

View File

@ -45,8 +45,14 @@ LIBI386= ${.OBJDIR}/../libi386/libi386.a
CFLAGS+= -I${.CURDIR}/..
# where to get libstand from
#XXX need a better way to do this
LIBSTAND= ${.CURDIR}/../../../../lib/libstand/libstand.a
.if !exists(${LIBSTAND})
LIBSTAND= ${.OBJDIR}/../../../../lib/libstand/libstand.a
.if !exists(${LIBSTAND})
LIBSTAND= -lstand
#LIBSTAND= ${.CURDIR}/../../../../lib/libstand/libstand.a
.endif
.endif
CFLAGS+= -I${.CURDIR}/../../../../lib/libstand/
# BTX components