Code

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 7f3dae466a7e85ba25d8a3d3f6ddf648d8d81681..955f04eecc50f67ae19abe92511b6cb104442ba9 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