From: Trevor Woerner Date: Mon, 28 Oct 2019 03:13:13 +0000 (-0400) Subject: libcap-ng: undefined reference to `pthread_atfork' X-Git-Tag: uninative-2.8~1252 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=6196e68ffc83ae0655336d3466d950828d42e191;p=openembedded-core.git libcap-ng: undefined reference to `pthread_atfork' Some hosts need -pthread in order to link properly (e.g. openSUSE 15.1). Signed-off-by: Trevor Woerner Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-support/libcap-ng/libcap-ng_0.7.10.bb b/meta/recipes-support/libcap-ng/libcap-ng_0.7.10.bb index 6e6de45494..a9a046571f 100644 --- a/meta/recipes-support/libcap-ng/libcap-ng_0.7.10.bb +++ b/meta/recipes-support/libcap-ng/libcap-ng_0.7.10.bb @@ -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"