From 30bf1b0457f20f96f4f90e70ee392bc8daa7ded9 Mon Sep 17 00:00:00 2001 From: mlelstv Date: Tue, 15 Apr 2008 21:50:22 +0000 Subject: [PATCH] If we build with tools the util functions are provided by libnbcompat. --- lib/libasn1/asn1_compile/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/libasn1/asn1_compile/Makefile b/lib/libasn1/asn1_compile/Makefile index 7356f77d0b7f..5d7cd758fbbb 100644 --- a/lib/libasn1/asn1_compile/Makefile +++ b/lib/libasn1/asn1_compile/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.23 2008/04/13 21:26:59 mlelstv Exp $ +# $NetBSD: Makefile,v 1.24 2008/04/15 21:50:22 mlelstv Exp $ NOLINT= # defined NOMAN= # defined @@ -10,8 +10,10 @@ DIST= ${NETBSDSRCDIR}/crypto/dist PROG= asn1_compile +.if ${USETOOLS} != "yes" LDADD+= -lutil DPADD+= ${LIBUTIL} +.endif WARNS?= 1