[oe] [meta-python][PATCH] python3-cryptography: Add -pthread to link flags
Khem Raj
raj.khem at gmail.com
Fri Mar 2 02:04:43 UTC 2018
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>
---
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 f64e51d3f..195923343 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 \
"
--
2.16.2
More information about the Openembedded-devel
mailing list