summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpctl
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2018-07-13 15:02:41 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2018-07-13 15:02:41 +0000
commit9809f4dd454f11535f35acbb8da49ef14688bb24 (patch)
tree0d3e87e0ef179c55a0b00da8d24f14a627a43309 /usr.sbin/bgpctl
parent8f41784ecbf4f41c43d7df9a32e74bb00592bba4 (diff)
explicitly link libm for sqrt()/fmax() calls added in bgpctl.c rev 1.204
Diffstat (limited to 'usr.sbin/bgpctl')
-rw-r--r--usr.sbin/bgpctl/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/bgpctl/Makefile b/usr.sbin/bgpctl/Makefile
index 99bd37665d6..e58551cf86f 100644
--- a/usr.sbin/bgpctl/Makefile
+++ b/usr.sbin/bgpctl/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.13 2017/01/23 23:37:21 claudio Exp $
+# $OpenBSD: Makefile,v 1.14 2018/07/13 15:02:40 jsg Exp $
.PATH: ${.CURDIR}/../bgpd
@@ -13,7 +13,7 @@ CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual
CFLAGS+= -Wsign-compare
CFLAGS+= -I${.CURDIR} -I${.CURDIR}/../bgpd
MAN= bgpctl.8
-LDADD= -lutil
-DPADD+= ${LIBUTIL}
+LDADD= -lutil -lm
+DPADD+= ${LIBUTIL} ${LIBM}
.include <bsd.prog.mk>