commit c527219c9dd2b6ebfb0a4633bcd07388ffeb065c parent 2817f1d9208266d27977e134c4a87e038aba8dbc Author: Jo-Philipp Wich <jow@openwrt.org> Date: Fri, 2 Oct 2015 21:48:26 +0200 Merge pull request #1835 from hnyman/collectd-fix-parallel collectd: backport parallel build fix from upstream Diffstat:
| A | utils/collectd/patches/500-upstream-parallel-build-fix.patch | | | 17 | +++++++++++++++++ |
1 file changed, 17 insertions(+), 0 deletions(-)
diff --git a/utils/collectd/patches/500-upstream-parallel-build-fix.patch b/utils/collectd/patches/500-upstream-parallel-build-fix.patch @@ -0,0 +1,17 @@ +Backport of 780e6a76021a240e95007a04b723d827120afa95 +Subject: [PATCH] build: add libavltree, libcommon & libheap dependencies + +Otherwise it can break on very parallel builds since collectd link time +arrives before one or more of these were built. + +--- a/src/daemon/Makefile.am ++++ b/src/daemon/Makefile.am +@@ -49,7 +49,7 @@ collectd_CPPFLAGS = $(AM_CPPFLAGS) $(LT + collectd_CFLAGS = $(AM_CFLAGS) + collectd_LDFLAGS = -export-dynamic + collectd_LDADD = libavltree.la libcommon.la libheap.la -lm +-collectd_DEPENDENCIES = ++collectd_DEPENDENCIES = libavltree.la libcommon.la libheap.la + + # Link to these libraries.. + if BUILD_WITH_LIBRT