diff options
author | Khem Raj <raj.khem@gmail.com> | 2019-03-05 19:45:37 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-03-07 09:33:45 -0800 |
commit | 8ee106097d9a538d188495e53326e785641cb81c (patch) | |
tree | 1f976960fe2de3b4ff2e0fd1a2a0c3f317461be6 /meta-webserver/recipes-webadmin/netdata | |
parent | 3b94c03c2b413736fb2c78e0dfa4bfa12847fc8c (diff) | |
download | meta-openembedded-8ee106097d9a538d188495e53326e785641cb81c.tar.gz |
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@gmail.com>
Diffstat (limited to 'meta-webserver/recipes-webadmin/netdata')
-rw-r--r-- | meta-webserver/recipes-webadmin/netdata/netdata_git.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-webserver/recipes-webadmin/netdata/netdata_git.bb b/meta-webserver/recipes-webadmin/netdata/netdata_git.bb index b0f160252..390fa4ba9 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" | |||
27 | 27 | ||
28 | inherit pkgconfig autotools useradd systemd | 28 | inherit pkgconfig autotools useradd systemd |
29 | 29 | ||
30 | LDFLAGS += "-pthread" | ||
31 | |||
30 | #systemd | 32 | #systemd |
31 | SYSTEMD_PACKAGES = "${PN}" | 33 | SYSTEMD_PACKAGES = "${PN}" |
32 | SYSTEMD_SERVICE_${PN} = "netdata.service" | 34 | SYSTEMD_SERVICE_${PN} = "netdata.service" |