summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: bcfc886)
raw | patch | inline | side by side (parent: bcfc886)
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Fri, 3 Jun 2016 14:52:47 +0000 (16:52 +0200) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Fri, 3 Jun 2016 14:52:47 +0000 (16:52 +0200) |
We always link collectd_nagios with libcollectdclient/libcollectdclient.la.
Make this more obvious.
Make this more obvious.
src/Makefile.am | patch | blob | history |
diff --git a/src/Makefile.am b/src/Makefile.am
index 45cf51514fccbf8b39084681935f9f81f25e2d65..783dda29d3660cc22f58eda59f22a05d0760c2f3 100644 (file)
--- a/src/Makefile.am
+++ b/src/Makefile.am
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 =
+collectd_nagios_LDADD = libcollectdclient/libcollectdclient.la
+collectd_nagios_DEPENDENCIES = libcollectdclient/libcollectdclient.la
if BUILD_WITH_LIBSOCKET
collectd_nagios_LDADD += -lsocket
endif
collectd_nagios_LDADD += -lm
endif
-collectd_nagios_LDADD += libcollectdclient/libcollectdclient.la
-collectd_nagios_DEPENDENCIES = libcollectdclient/libcollectdclient.la
-
collectdctl_SOURCES = collectdctl.c
collectdctl_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/src/libcollectdclient/collectd -I$(top_builddir)/src/libcollectdclient/collectd