summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libcap-ng
diff options
context:
space:
mode:
authorTrevor Woerner <twoerner@gmail.com>2019-10-27 23:13:13 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-10-31 16:07:11 +0000
commit6196e68ffc83ae0655336d3466d950828d42e191 (patch)
tree219cc8bb9747fb2bc5b3f4940cc78ba1e306aff8 /meta/recipes-support/libcap-ng
parent82169fd7684389f9cdedd6f91a00698641741a8c (diff)
downloadopenembedded-core-6196e68ffc83ae0655336d3466d950828d42e191.tar.gz
openembedded-core-6196e68ffc83ae0655336d3466d950828d42e191.tar.bz2
openembedded-core-6196e68ffc83ae0655336d3466d950828d42e191.zip
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 <twoerner@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/libcap-ng')
-rw-r--r--meta/recipes-support/libcap-ng/libcap-ng_0.7.10.bb1
1 files changed, 1 insertions, 0 deletions
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"