[oe-commits] [openembedded-core] 03/03: libcap-ng: undefined reference to `pthread_atfork'

git at git.openembedded.org git at git.openembedded.org
Mon Oct 28 05:34:33 UTC 2019


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 1a65ce94803b87cda268b515c2b95a75ee59e25e
Author: Trevor Woerner <twoerner at gmail.com>
AuthorDate: Sun Oct 27 23:13:13 2019 -0400

    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 at gmail.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-support/libcap-ng/libcap-ng_0.7.10.bb | 1 +
 1 file changed, 1 insertion(+)

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 6e6de45..a9a0465 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"
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list