don't try to include libgnumalloc unless we're building a program

This commit is contained in:
cgd 1993-10-28 04:59:44 +00:00
parent 55c82b0104
commit 7c9c41cc1e

View File

@ -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