From: Ruben Kerkhof Date: Fri, 3 Jun 2016 15:00:33 +0000 (+0200) Subject: collectdctl: simplify logic a bit X-Git-Tag: collectd-5.6.0~285 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=9ba02579505a199a8010abac8fedb988927462f3;p=collectd.git collectdctl: simplify logic a bit We always link collectdctl with libcollectdclient/libcollectdclient.la. Make this more obvious. --- diff --git a/src/Makefile.am b/src/Makefile.am index 30e763e1..361fc531 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -67,15 +67,15 @@ endif collectdctl_SOURCES = collectdctl.c collectdctl_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/src/libcollectdclient/collectd -I$(top_builddir)/src/libcollectdclient/collectd -collectdctl_LDADD = +collectdctl_LDADD = libcollectdclient/libcollectdclient.la +collectdctl_DEPENDENCIES = libcollectdclient/libcollectdclient.la if BUILD_WITH_LIBSOCKET collectdctl_LDADD += -lsocket endif if BUILD_AIX collectdctl_LDADD += -lm endif -collectdctl_LDADD += libcollectdclient/libcollectdclient.la -collectdctl_DEPENDENCIES = libcollectdclient/libcollectdclient.la + collectd_tg_SOURCES = collectd-tg.c collectd_tg_CPPFLAGS = $(AM_CPPFLAGS) \