summaryrefslogtreecommitdiff
path: root/usr.sbin/ntp/ntp-keygen/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/ntp/ntp-keygen/Makefile')
-rw-r--r--usr.sbin/ntp/ntp-keygen/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ntp/ntp-keygen/Makefile b/usr.sbin/ntp/ntp-keygen/Makefile
index 64dea4f1f4d2..8879dc29be4d 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}