python-cryptography: Move linker flag to .inc
PATCH v2 1/1 python-cryptography: Move linker flag to .inc
From: Chris Garren <[email protected]>
Move the -pthread linker flag to the .inc file because it is needed for python 2 & 3.
Signed-off-by Chris Garren <[email protected]>
--- 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(-)
meta-python/recipes-devtools/python/python-cryptography.inc +2 -0
@@ -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 \
meta-python/recipes-devtools/python/python3-cryptography_2.4.1.bb +0 -2
@@ -1,8 +1,6 @@ inherit pypi setuptools3 require python-cryptography.inc -LDSHARED += "-pthread" - SRC_URI += " \ file://run-ptest \ "
Signature · 1 line
2.7.4
Quoted 30 lines · On Mon, Apr 8, 2019 at 6:29 AM <[email protected]> wrote:
From: Chris Garren <[email protected]>
Move the -pthread linker flag to the .inc file because it is needed for python 2 & 3.
Signed-off-by Chris Garren <[email protected]>--- 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(-)meta-python/recipes-devtools/python/python-cryptography.inc +2
-0@@ -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 \meta-python/recipes-devtools/python/python3-cryptography_2.4.1.bb +0
-0
meta-python/recipes-devtools/python/python3-cryptography_2.4.1.bb line 6
Quoted 8 lines
meta-python/recipes-devtools/python/python3-cryptography_2.4.1.bb +0
-2@@ -1,8 +1,6 @@ inherit pypi setuptools3 require python-cryptography.inc -LDSHARED += "-pthread" - SRC_URI += " \ file://run-ptest \ "
I had to munge it a bit.
https://git.openembedded.org/meta-openembedded/commit/?h=master-next&id=2be016ee8f5260f67edcfe434ed70569fced56e0