* [meta-python][PATCH v2] python-cryptography: Move linker flag to .inc
@ 2019-04-08 13:29 chris.d.garren
2019-04-08 18:33 ` Khem Raj
0 siblings, 1 reply; 2+ messages in thread
From: chris.d.garren @ 2019-04-08 13:29 UTC (permalink / raw)
To: openembedded-devel
From: Chris Garren <cdgarren@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@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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [meta-python][PATCH v2] python-cryptography: Move linker flag to .inc
2019-04-08 13:29 [meta-python][PATCH v2] python-cryptography: Move linker flag to .inc chris.d.garren
@ 2019-04-08 18:33 ` Khem Raj
0 siblings, 0 replies; 2+ messages in thread
From: Khem Raj @ 2019-04-08 18:33 UTC (permalink / raw)
To: chris.d.garren; +Cc: openembeded-devel
On Mon, Apr 8, 2019 at 6:29 AM <chris.d.garren@gmail.com> wrote:
>
> From: Chris Garren <cdgarren@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@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 \
> "
I had to munge it a bit.
https://git.openembedded.org/meta-openembedded/commit/?h=master-next&id=2be016ee8f5260f67edcfe434ed70569fced56e0
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-04-08 18:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-08 13:29 [meta-python][PATCH v2] python-cryptography: Move linker flag to .inc chris.d.garren
2019-04-08 18:33 ` Khem Raj
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.