From: oetiker Date: Wed, 1 Oct 2008 20:22:57 +0000 (+0000) Subject: since rrdcached uses pthread functions, use the threadsafe version of librrd as well... X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=commitdiff_plain;h=4a7a0cdd2f86e3a121a26b8b014949ac53596026;ds=sidebyside since rrdcached uses pthread functions, use the threadsafe version of librrd as well. This will also reasolve build problems on boxes there the ptherad functions must be linked explicitly. git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1559 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/src/Makefile.am b/src/Makefile.am index 09bbe86..820acf6 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -105,9 +105,9 @@ rrdtool_DEPENDENCIES = librrd.la rrdtool_LDADD = librrd.la rrdcached_SOURCES = rrd_daemon.c -rrdcached_DEPENDENCIES = librrd.la +rrdcached_DEPENDENCIES = librrd_th.la rrdcached_CPPFLAGS = -DVERSION='"$(VERSION)"' -DLOCALSTATEDIR='"$(localstatedir)"' -rrdcached_LDADD = librrd.la +rrdcached_LDADD = librrd_th.la # strftime is here because we do not usually need it. unices have propper # iso date support