mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-05 14:59:55 +00:00
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>
This commit is contained in:
@@ -27,6 +27,8 @@ DEPENDS += "zlib util-linux"
|
||||
|
||||
inherit pkgconfig autotools useradd systemd
|
||||
|
||||
LDFLAGS += "-pthread"
|
||||
|
||||
#systemd
|
||||
SYSTEMD_PACKAGES = "${PN}"
|
||||
SYSTEMD_SERVICE_${PN} = "netdata.service"
|
||||
|
||||
Reference in New Issue
Block a user