From 7c9c41cc1e0b73a05c784b2571f3a0c678d043ca Mon Sep 17 00:00:00 2001 From: cgd Date: Thu, 28 Oct 1993 04:59:44 +0000 Subject: [PATCH] don't try to include libgnumalloc unless we're building a program --- gnu/libexec/uucp/Makefile.inc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gnu/libexec/uucp/Makefile.inc b/gnu/libexec/uucp/Makefile.inc index 6b942ad0af76..4946e1916cca 100644 --- a/gnu/libexec/uucp/Makefile.inc +++ b/gnu/libexec/uucp/Makefile.inc @@ -29,6 +29,10 @@ newconfigdir= /etc/uucp # V2 (when using HAVE_V2_CONFIG) style configuration files. oldconfigdir= /etc/uucp +# this is sick, but much easier than putting in the individual programs' +# makefiles. +.if defined(PROG) # use gnu malloc LDADD+= -lgnumalloc DPADD+= /usr/lib/libgnumalloc.a +.endif