From: martijn Date: Tue, 25 Oct 2022 10:46:59 +0000 (+0000) Subject: Fix LDADD and DPADD. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=2bd68e1d3750f19a36c8cf17ea9132de9cc6d487;p=openbsd Fix LDADD and DPADD. DPADD bit pointed out by deraadt@ "No kidding" deraadt@ --- diff --git a/usr.sbin/snmpd/Makefile b/usr.sbin/snmpd/Makefile index 5a6aa45ab2e..261e89b62c2 100644 --- a/usr.sbin/snmpd/Makefile +++ b/usr.sbin/snmpd/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.21 2022/10/06 14:41:08 martijn Exp $ +# $OpenBSD: Makefile,v 1.22 2022/10/25 10:46:59 martijn Exp $ PROG= snmpd MAN= snmpd.8 snmpd.conf.5 @@ -8,8 +8,8 @@ SRCS= parse.y log.c snmpe.c application.c application_legacy.c \ mps.c trap.c mib.c smi.c snmpd.c \ proc.c usm.c traphandler.c util.c -LDADD= -levent -lutil -lkvm -lcrypto -DPADD= ${LIBEVENT} ${LIBUTIL} +LDADD= -levent -lutil -lcrypto +DPADD= ${LIBEVENT} ${LIBUTIL} ${LIBCRYPTO} CFLAGS+= -Wall -I${.CURDIR} CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes CFLAGS+= -Wmissing-declarations