summaryrefslogtreecommitdiffstats
path: root/sbin/ping/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/ping/Makefile')
-rw-r--r--sbin/ping/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/ping/Makefile b/sbin/ping/Makefile
index 1df0d93..2c6b08e 100644
--- a/sbin/ping/Makefile
+++ b/sbin/ping/Makefile
@@ -8,7 +8,8 @@ COPTS+= -Wall -Wmissing-prototypes
.if ${MACHINE_ARCH} == "alpha"
COPTS+= -fno-builtin # GCC's builtin memcpy doesn't do unaligned copies
.endif
-DPADD= ${LIBM}
-LDADD= -lm
+CFLAGS+=-DIPSEC
+DPADD= ${LIBM} ${LIBIPSEC}
+LDADD= -lm -lipsec
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud