[oe] [meta-python][PATCH v2] python-cryptography: Move linker flag to .inc
chris.d.garren at gmail.com
chris.d.garren at gmail.com
Mon Apr 8 13:29:05 UTC 2019
From: Chris Garren <cdgarren at indesign-llc.com>
Move the -pthread linker flag to the .inc file because it is
needed for python 2 & 3.
Signed-off-by: Chris Garren <cdgarren at indesign-llc.com>
---
meta-python/recipes-devtools/python/python-cryptography.inc | 2 ++
meta-python/recipes-devtools/python/python3-cryptography_2.4.1.bb | 2 --
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta-python/recipes-devtools/python/python-cryptography.inc b/meta-python/recipes-devtools/python/python-cryptography.inc
index 2c1ac1c..d7e5ae9 100644
--- a/meta-python/recipes-devtools/python/python-cryptography.inc
+++ b/meta-python/recipes-devtools/python/python-cryptography.inc
@@ -3,6 +3,8 @@ HOMEPAGE = "https://cryptography.io/"
LICENSE = "Apache-2.0 | BSD"
LIC_FILES_CHKSUM = "file://LICENSE;md5=097f805837700cfac572ac274cd38124"
+LDSHARED += "-pthread"
+
DEPENDS += " \
${PYTHON_PN}-cffi \
${PYTHON_PN}-cffi-native \
diff --git a/meta-python/recipes-devtools/python/python3-cryptography_2.4.1.bb b/meta-python/recipes-devtools/python/python3-cryptography_2.4.1.bb
index 1959233..f64e51d 100644
--- a/meta-python/recipes-devtools/python/python3-cryptography_2.4.1.bb
+++ b/meta-python/recipes-devtools/python/python3-cryptography_2.4.1.bb
@@ -1,8 +1,6 @@
inherit pypi setuptools3
require python-cryptography.inc
-LDSHARED += "-pthread"
-
SRC_URI += " \
file://run-ptest \
"
--
2.7.4
More information about the Openembedded-devel
mailing list