libcap-ng: undefined reference to `pthread_atfork'

Some hosts need -pthread in order to link properly (e.g. openSUSE 15.1).

(From OE-Core rev: 6196e68ffc83ae0655336d3466d950828d42e191)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Trevor Woerner
2019-10-27 23:13:13 -04:00
committed by Richard Purdie
parent 5e040b69c3
commit 5c24170fa2

View File

@@ -3,6 +3,7 @@ require libcap-ng.inc
inherit lib_package autotools
EXTRA_OECONF += "--without-python --without-python3"
LDFLAGS_append_class-native = " -pthread"
BBCLASSEXTEND = "native nativesdk"