collectdctl: let automake compute dependencies
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Fri, 3 Jun 2016 15:01:32 +0000 (17:01 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Fri, 3 Jun 2016 15:01:32 +0000 (17:01 +0200)
Automake already does the right thing based on the library added with _LDADD

src/Makefile.am

index 361fc53..db8b44e 100644 (file)
@@ -68,7 +68,6 @@ endif
 collectdctl_SOURCES = collectdctl.c
 collectdctl_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/src/libcollectdclient/collectd -I$(top_builddir)/src/libcollectdclient/collectd
 collectdctl_LDADD = libcollectdclient/libcollectdclient.la
-collectdctl_DEPENDENCIES = libcollectdclient/libcollectdclient.la
 if BUILD_WITH_LIBSOCKET
 collectdctl_LDADD += -lsocket
 endif