From f7161dfc74bd49a08deb2f5ce7e84027889a82a4 Mon Sep 17 00:00:00 2001 From: Piotr Popieluch Date: Sat, 14 Jan 2017 01:22:46 +0100 Subject: [PATCH] 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. --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.11.0