[oe] [meta-python][PATCH] python-cryptography: Add -pthread to link flags

chris.d.garren at gmail.com chris.d.garren at gmail.com
Fri Apr 5 18:00:09 UTC 2019


From: Chris Garren <cdgarren at indesign-llc.com>

This builds openssl which needs pthread_atfork(),
but it's not linked which results in runtime errors.

Signed-off-by: Chris Garren <cdgarren at indesign-llc.com>
---
 meta-python/recipes-devtools/python/python-cryptography_2.1.4.bb | 2 ++
 1 file changed, 2 insertions(+)

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



More information about the Openembedded-devel mailing list