Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Oct 2015 12:03:14 +0000 (UTC)
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r290044 - stable/9/usr.sbin/ntp/ntpq
Message-ID:  <201510271203.t9RC3E9w077018@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: glebius
Date: Tue Oct 27 12:03:14 2015
New Revision: 290044
URL: https://svnweb.freebsd.org/changeset/base/290044

Log:
  Link ntpq with pthread.
  
  PR:		204046
  Submitted by:	truckman

Modified:
  stable/9/usr.sbin/ntp/ntpq/Makefile

Modified: stable/9/usr.sbin/ntp/ntpq/Makefile
==============================================================================
--- stable/9/usr.sbin/ntp/ntpq/Makefile	Tue Oct 27 09:43:05 2015	(r290043)
+++ stable/9/usr.sbin/ntp/ntpq/Makefile	Tue Oct 27 12:03:14 2015	(r290044)
@@ -20,8 +20,8 @@ CFLAGS+= -I${.CURDIR}/../../../contrib/n
 	-I${.CURDIR}/../../../contrib/ntp/sntp/libopts \
 	-I${.CURDIR}/../
 
-DPADD=	${LIBEDIT} ${LIBNTP} ${LIBM} ${LIBOPTS}
-LDADD=	-ledit ${LIBNTP} -lm ${LIBOPTS}
+DPADD=	${LIBEDIT} ${LIBNTP} ${LIBM} ${LIBOPTS} ${LIBPTHREAD}
+LDADD=	-ledit ${LIBNTP} -lm ${LIBOPTS} -lpthread
 
 .if ${MK_OPENSSL} != "no"
 DPADD+=	${LIBCRYPTO}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510271203.t9RC3E9w077018>