Date: Wed, 18 Nov 2009 07:25:14 -0700 (MST) From: "M. Warner Losh" <imp@bsdimp.com> To: davidxu@freebsd.org Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r199469 - head/lib/librt Message-ID: <20091118.072514.673374189.imp@bsdimp.com> In-Reply-To: <200911180509.nAI593kQ058970@svn.freebsd.org> References: <200911180509.nAI593kQ058970@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In message: <200911180509.nAI593kQ058970@svn.freebsd.org> David Xu <davidxu@freebsd.org> writes: : Author: davidxu : Date: Wed Nov 18 05:09:03 2009 : New Revision: 199469 : URL: http://svn.freebsd.org/changeset/base/199469 : : Log: : link libpthread because the librt really needs it to fully function. If you are now requiring libpthread, why are you using the _pthread_* functions everywhere else? Warner : Modified: : head/lib/librt/Makefile : : Modified: head/lib/librt/Makefile : ============================================================================== : --- head/lib/librt/Makefile Wed Nov 18 04:34:43 2009 (r199468) : +++ head/lib/librt/Makefile Wed Nov 18 05:09:03 2009 (r199469) : @@ -4,6 +4,7 @@ LIB=rt : SHLIB_MAJOR= 1 : CFLAGS+=-I${.CURDIR}/../libc/include -I${.CURDIR} : CFLAGS+=-Winline -Wall -g : +LDADD+=-lpthread : : #MAN= libthr.3 : :
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091118.072514.673374189.imp>