Code

src/Makefile.am: let automake compute dependencies
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Fri, 3 Jun 2016 14:58:01 +0000 (16:58 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Fri, 3 Jun 2016 14:58:01 +0000 (16:58 +0200)
Automake already does the right thing based on the library
added with _LDADD

src/Makefile.am

index 783dda29d3660cc22f58eda59f22a05d0760c2f3..30e763e1dbb06116800d7455684883dc76ed7acf 100644 (file)
@@ -57,7 +57,6 @@ collectdmon_SOURCES = collectdmon.c
 collectd_nagios_SOURCES = collectd-nagios.c
 collectd_nagios_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/src/libcollectdclient/collectd -I$(top_builddir)/src/libcollectdclient/collectd
 collectd_nagios_LDADD = libcollectdclient/libcollectdclient.la
-collectd_nagios_DEPENDENCIES = libcollectdclient/libcollectdclient.la
 if BUILD_WITH_LIBSOCKET
 collectd_nagios_LDADD += -lsocket
 endif