Code

Fix parallel build
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 17 Dec 2016 16:44:47 +0000 (17:44 +0100)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 17 Dec 2016 16:46:04 +0000 (17:46 +0100)
Fixes #2110

src/Makefile.am

index bd6d901b48e2ec9b04d0e4da0c5933a4d52fd8eb..bec7ca93c832aac06a09e1033da2049e54476f1b 100644 (file)
@@ -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