[oe-commits] [meta-openembedded] 27/52: python3-cryptography: Add -pthread to link flags

git at git.openembedded.org git at git.openembedded.org
Sat Mar 17 02:33:09 UTC 2018


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

armin_kuster pushed a commit to branch master
in repository meta-openembedded.

commit 49ecf6f65dddecaec57790de8610dc89666e31e6
Author: Khem Raj <raj.khem at gmail.com>
AuthorDate: Thu Mar 1 18:04:43 2018 -0800

    python3-cryptography: Add -pthread to link flags
    
    It builds openssl module which needs pthread_atfork()
    but we do not link it with libpthread, which results
    in runtime loading errors
    
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
    Acked-by: Tim Orling <ticotimo at gmail.com>
    Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
 meta-python/recipes-devtools/python/python3-cryptography_2.1.4.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-python/recipes-devtools/python/python3-cryptography_2.1.4.bb b/meta-python/recipes-devtools/python/python3-cryptography_2.1.4.bb
index f64e51d..1959233 100644
--- a/meta-python/recipes-devtools/python/python3-cryptography_2.1.4.bb
+++ b/meta-python/recipes-devtools/python/python3-cryptography_2.1.4.bb
@@ -1,6 +1,8 @@
 inherit pypi setuptools3
 require python-cryptography.inc
 
+LDSHARED += "-pthread"
+
 SRC_URI += " \
     file://run-ptest \
 "

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


More information about the Openembedded-commits mailing list