From e3b62f588240d6ae13bc4a5e2d078de6fb5a95d7 Mon Sep 17 00:00:00 2001 From: christos Date: Wed, 30 Aug 2006 12:11:40 +0000 Subject: [PATCH] Only include libutil if !HOSTPROG --- libexec/makewhatis/Makefile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/libexec/makewhatis/Makefile b/libexec/makewhatis/Makefile index cade358a5464..7bbe5dec9c76 100644 --- a/libexec/makewhatis/Makefile +++ b/libexec/makewhatis/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2006/08/26 18:18:16 christos Exp $ +# $NetBSD: Makefile,v 1.19 2006/08/30 12:11:40 christos Exp $ .include @@ -10,10 +10,8 @@ CPPFLAGS+=-I${NETBSDSRCDIR}/usr.bin MAN= ${PROG}.8 .ifndef HOSTPROG -DPADD+= ${LIBZ} -LDADD+= -lz +DPADD+= ${LIBUTIL} ${LIBZ} +LDADD+= -lutil -lz .endif -DPADD+= ${LIBUTIL} -LDADD+= -lutil .include