Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Oct 2015 12:42:28 +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: r290046 - stable/9/usr.sbin/ntp/ntpdc
Message-ID:  <201510271242.t9RCgS1b088442@repo.freebsd.org>

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

Log:
  Link ntpdc with pthread.

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

Modified: stable/9/usr.sbin/ntp/ntpdc/Makefile
==============================================================================
--- stable/9/usr.sbin/ntp/ntpdc/Makefile	Tue Oct 27 12:21:15 2015	(r290045)
+++ stable/9/usr.sbin/ntp/ntpdc/Makefile	Tue Oct 27 12:42:27 2015	(r290046)
@@ -17,8 +17,8 @@ CFLAGS+= -I${.CURDIR}/../../../contrib/n
 	-I${.CURDIR}/../../../lib/libc/${MACHINE_ARCH} \
 	-I${.CURDIR}/../ -I${.CURDIR}
 
-DPADD=	${LIBNTP} ${LIBM} ${LIBOPTS} ${LIBEDIT} ${LIBTERMCAP}
-LDADD=	${LIBNTP} -lm ${LIBOPTS} -ledit -ltermcap
+DPADD=	${LIBNTP} ${LIBM} ${LIBOPTS} ${LIBEDIT} ${LIBTERMCAP} ${LIBPTHREAD}
+LDADD=	${LIBNTP} -lm ${LIBOPTS} -ledit -ltermcap -lpthread
 
 CFLAGS+=	-DHAVE_LIBEDIT -DHAVE_READLINE_READLINE_H \
 		-I${DESTDIR}/${INCLUDEDIR}/edit



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