]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/commitdiff
src/Makefile: Link rrdcached against ALL_LIBS directly.
authorSebastian Harl <sh@tokkee.org>
Sat, 26 Apr 2014 09:51:01 +0000 (11:51 +0200)
committerSebastian Harl <sh@tokkee.org>
Sat, 26 Apr 2014 09:51:01 +0000 (11:51 +0200)
rrdcached uses glib and, thus, needs to be linked against the lib directly.
While some linkers work fine since librrd_th is linked against ALL_LIBS, some
other linkers don't.

src/Makefile.am

index b4b9289d13aabc54b7a45525e8279a54f2aab3c8..6e87ed2b81cc092a993c5d5f7cffe72e1f9775b9 100644 (file)
@@ -121,7 +121,7 @@ rrdtool_LDADD       = librrd.la
 rrdcached_SOURCES = rrd_daemon.c
 rrdcached_DEPENDENCIES = librrd_th.la
 rrdcached_CPPFLAGS = -DVERSION='"$(VERSION)"' -DLOCALSTATEDIR='"$(localstatedir)"'
-rrdcached_LDADD = librrd_th.la
+rrdcached_LDADD = librrd_th.la $(ALL_LIBS)
 
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = librrd.pc