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:
Khem Raj 2019-03-05 19:45:37 -08:00
parent 3b94c03c2b
commit 8ee106097d

View File

@ -27,6 +27,8 @@ DEPENDS += "zlib util-linux"
inherit pkgconfig autotools useradd systemd
LDFLAGS += "-pthread"
#systemd
SYSTEMD_PACKAGES = "${PN}"
SYSTEMD_SERVICE_${PN} = "netdata.service"