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

git at git.openembedded.org git at git.openembedded.org
Sun Mar 18 02:35:47 UTC 2018


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

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

commit eb22faff70e70834830bf2f03102ef2d262ace15
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