Merge pull request #2141 from piotr1212/link_unixsock_with_cmds
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 14 Jan 2017 16:14:42 +0000 (17:14 +0100)
committerGitHub <noreply@github.com>
Sat, 14 Jan 2017 16:14:42 +0000 (17:14 +0100)
unixsock.so: undefined symbol: handle_getthreshold -> link unixsock against libcmds

Makefile.am

index 323e17c..805733e 100644 (file)
@@ -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