[oe-commits] [meta-openembedded] 15/19: netdata: Link with libpthread

git at git.openembedded.org git at git.openembedded.org
Wed Mar 6 05:47:45 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 22ca1f67e493e731f91cf90ea4bc7a95511b6b7f
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