From: Ruben Kerkhof Date: Sat, 17 Dec 2016 16:44:47 +0000 (+0100) Subject: Fix parallel build X-Git-Tag: collectd-5.7.1~11 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e60fc4513bd3107cd001447377f4ce89e1585ccb;p=collectd.git Fix parallel build Fixes #2110 --- diff --git a/src/Makefile.am b/src/Makefile.am index bd6d901b..bec7ca93 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -444,7 +444,8 @@ endif if BUILD_PLUGIN_EXEC pkglib_LTLIBRARIES += exec.la exec_la_SOURCES = exec.c -exec_la_LDFLAGS = $(PLUGIN_LDFLAGS) libcmds.la +exec_la_LDFLAGS = $(PLUGIN_LDFLAGS) +exec_la_LIBADD = libcmds.la endif if BUILD_PLUGIN_ETHSTAT @@ -1217,7 +1218,8 @@ endif if BUILD_PLUGIN_UNIXSOCK pkglib_LTLIBRARIES += unixsock.la unixsock_la_SOURCES = unixsock.c -unixsock_la_LDFLAGS = $(PLUGIN_LDFLAGS) libcmds.la +unixsock_la_LDFLAGS = $(PLUGIN_LDFLAGS) +unixsock_la_LIBADD = libcmds.la endif if BUILD_PLUGIN_UPTIME