collectd_tg: let automake compute dependencies
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Fri, 3 Jun 2016 15:08:33 +0000 (17:08 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Fri, 3 Jun 2016 15:08:33 +0000 (17:08 +0200)
Automake already does the right thing based on the library added with _LDADD.
This also restores a missing dependency on libheap.la.

src/Makefile.am

index 7f3dae4..955f04e 100644 (file)
@@ -82,7 +82,6 @@ collectd_tg_CPPFLAGS = $(AM_CPPFLAGS) \
 collectd_tg_LDADD = \
        daemon/libheap.la \
        libcollectdclient/libcollectdclient.la
-collectd_tg_DEPENDENCIES = libcollectdclient/libcollectdclient.la
 if BUILD_WITH_LIBSOCKET
 collectd_tg_LDADD += -lsocket
 endif