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:09:34 +0000
commit5c24170fa2826ec2aa9177efed3d947197e39de6 (patch)
tree4cac00decbb8fd399e0533a292793525e2d140c3 /meta/recipes-support/libcap-ng
parent5e040b69c3086a372e015330080107d9230d3e6b (diff)
downloadpoky-5c24170fa2826ec2aa9177efed3d947197e39de6.tar.gz
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>
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
3inherit lib_package autotools 3inherit lib_package autotools
4 4
5EXTRA_OECONF += "--without-python --without-python3" 5EXTRA_OECONF += "--without-python --without-python3"
6LDFLAGS_append_class-native = " -pthread"
6 7
7BBCLASSEXTEND = "native nativesdk" 8BBCLASSEXTEND = "native nativesdk"
8 9