From: Piotr Popieluch Date: Sat, 14 Jan 2017 00:22:46 +0000 (+0100) Subject: link unixsock against libcmds X-Git-Tag: collectd-5.8.0~240^2 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=f7161dfc74bd49a08deb2f5ce7e84027889a82a4;p=collectd.git link unixsock against libcmds unixsock_la_LIBS is not being processed by automake and thus being incorrectly linked. This results in an symbol error when loading the module. Changing to unixsock_la_LIBADD fixes this. --- diff --git a/Makefile.am b/Makefile.am index 323e17c5..805733e6 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1616,7 +1616,7 @@ if BUILD_PLUGIN_UNIXSOCK pkglib_LTLIBRARIES += unixsock.la unixsock_la_SOURCES = src/unixsock.c unixsock_la_LDFLAGS = $(PLUGIN_LDFLAGS) -unixsock_la_LIBS = libcmds.la +unixsock_la_LIBADD = libcmds.la endif if BUILD_PLUGIN_UPTIME