since rrdcached uses pthread functions, use the threadsafe version of librrd as well...
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Wed, 1 Oct 2008 20:22:57 +0000 (20:22 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Wed, 1 Oct 2008 20:22:57 +0000 (20:22 +0000)
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

src/Makefile.am

index 09bbe86..820acf6 100644 (file)
@@ -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