[oe-commits] [meta-openembedded] 02/21: netdata: Link with libpthread
git at git.openembedded.org
git at git.openembedded.org
Thu Mar 7 17:36:14 UTC 2019
This is an automated email from the git hooks/post-receive script.
khem pushed a commit to branch master-next
in repository meta-openembedded.
commit 8ee106097d9a538d188495e53326e785641cb81c
Author: Khem Raj <raj.khem at gmail.com>
AuthorDate: Tue Mar 5 19:45:37 2019 -0800
netdata: Link with libpthread
Fixes
global_statistics.c:90: undefined reference to `__atomic_fetch_add_2'
| collect2: error: ld returned 1 exit status
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
meta-webserver/recipes-webadmin/netdata/netdata_git.bb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta-webserver/recipes-webadmin/netdata/netdata_git.bb b/meta-webserver/recipes-webadmin/netdata/netdata_git.bb
index b0f1602..390fa4b 100644
--- a/meta-webserver/recipes-webadmin/netdata/netdata_git.bb
+++ b/meta-webserver/recipes-webadmin/netdata/netdata_git.bb
@@ -27,6 +27,8 @@ DEPENDS += "zlib util-linux"
inherit pkgconfig autotools useradd systemd
+LDFLAGS += "-pthread"
+
#systemd
SYSTEMD_PACKAGES = "${PN}"
SYSTEMD_SERVICE_${PN} = "netdata.service"
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list