From 627a68922c8fffec7c973e4d510cd5c111dc298a Mon Sep 17 00:00:00 2001 From: jkim Date: Fri, 11 Mar 2016 22:45:23 +0000 Subject: [PATCH] Link ntp-keygen(8) with pthread. Note this is a direct commit to stable/9 because head and stable/10 were fixed differently with r280849 and r285612, respectively. git-svn-id: svn://svn.freebsd.org/base/stable/9@296686 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- usr.sbin/ntp/ntp-keygen/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/ntp/ntp-keygen/Makefile b/usr.sbin/ntp/ntp-keygen/Makefile index 64dea4f1f..8879dc29b 100644 --- a/usr.sbin/ntp/ntp-keygen/Makefile +++ b/usr.sbin/ntp/ntp-keygen/Makefile @@ -20,8 +20,8 @@ CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include \ -I${.CURDIR}/../../../lib/libc/${MACHINE_ARCH} \ -I${.CURDIR}/../ -DPADD= ${LIBNTP} ${LIBOPTS} -LDADD= ${LIBNTP} ${LIBOPTS} +DPADD= ${LIBNTP} ${LIBOPTS} ${LIBPTHREAD} +LDADD= ${LIBNTP} ${LIBOPTS} -lpthread .if ${MK_OPENSSL} != "no" DPADD+= ${LIBCRYPTO} -- 2.45.0