explicitly link libm for sqrt()/fmax() calls added in bgpctl.c rev 1.204
authorjsg <jsg@openbsd.org>
Fri, 13 Jul 2018 15:02:40 +0000 (15:02 +0000)
committerjsg <jsg@openbsd.org>
Fri, 13 Jul 2018 15:02:40 +0000 (15:02 +0000)
usr.sbin/bgpctl/Makefile

index 99bd376..e58551c 100644 (file)
@@ -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>