* [Buildroot] [PATCH 1/1] package/python-{maturin, cryptograpy}: fix PYO3_CROSS_LIB_DIR path
@ 2022-07-24 8:37 James Hilliard
2022-07-24 10:17 ` Yann E. MORIN
0 siblings, 1 reply; 2+ messages in thread
From: James Hilliard @ 2022-07-24 8:37 UTC (permalink / raw)
To: buildroot; +Cc: James Hilliard, Asaf Kahlon
Host paths should not have /usr in them.
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
---
package/python-cryptography/python-cryptography.mk | 2 +-
package/python-maturin/python-maturin.mk | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/python-cryptography/python-cryptography.mk b/package/python-cryptography/python-cryptography.mk
index 99eba3eeab..582a7f7891 100644
--- a/package/python-cryptography/python-cryptography.mk
+++ b/package/python-cryptography/python-cryptography.mk
@@ -27,7 +27,7 @@ PYTHON_CRYPTOGRAPHY_ENV = \
PYO3_CROSS_LIB_DIR="$(STAGING_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)"
HOST_PYTHON_CRYPTOGRAPHY_ENV = \
$(HOST_PKG_CARGO_ENV) \
- PYO3_CROSS_LIB_DIR="$(HOST_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)"
+ PYO3_CROSS_LIB_DIR="$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)"
# We need to vendor the Cargo crates at download time
PYTHON_CRYPTOGRAPHY_DOWNLOAD_POST_PROCESS = cargo
PYTHON_CRYPTOGRAPHY_DOWNLOAD_DEPENDENCIES = host-rustc
diff --git a/package/python-maturin/python-maturin.mk b/package/python-maturin/python-maturin.mk
index 3d5ba70391..9ac11f264b 100644
--- a/package/python-maturin/python-maturin.mk
+++ b/package/python-maturin/python-maturin.mk
@@ -16,7 +16,7 @@ HOST_PYTHON_MATURIN_DEPENDENCIES = \
host-rustc
HOST_PYTHON_MATURIN_ENV = \
$(HOST_PKG_CARGO_ENV) \
- PYO3_CROSS_LIB_DIR="$(HOST_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)"
+ PYO3_CROSS_LIB_DIR="$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)"
# We need to vendor the Cargo crates at download time
PYTHON_MATURIN_DOWNLOAD_POST_PROCESS = cargo
PYTHON_MATURIN_DOWNLOAD_DEPENDENCIES = host-rustc
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/python-{maturin, cryptograpy}: fix PYO3_CROSS_LIB_DIR path
2022-07-24 8:37 [Buildroot] [PATCH 1/1] package/python-{maturin, cryptograpy}: fix PYO3_CROSS_LIB_DIR path James Hilliard
@ 2022-07-24 10:17 ` Yann E. MORIN
0 siblings, 0 replies; 2+ messages in thread
From: Yann E. MORIN @ 2022-07-24 10:17 UTC (permalink / raw)
To: James Hilliard; +Cc: Asaf Kahlon, buildroot
James,
On 2022-07-24 02:37 -0600, James Hilliard spake thusly:
> Host paths should not have /usr in them.
That was fixed in patches I had sent earlier, and that I applied.
Regards,
Yann E. MORIN.
> Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
> ---
> package/python-cryptography/python-cryptography.mk | 2 +-
> package/python-maturin/python-maturin.mk | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/package/python-cryptography/python-cryptography.mk b/package/python-cryptography/python-cryptography.mk
> index 99eba3eeab..582a7f7891 100644
> --- a/package/python-cryptography/python-cryptography.mk
> +++ b/package/python-cryptography/python-cryptography.mk
> @@ -27,7 +27,7 @@ PYTHON_CRYPTOGRAPHY_ENV = \
> PYO3_CROSS_LIB_DIR="$(STAGING_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)"
> HOST_PYTHON_CRYPTOGRAPHY_ENV = \
> $(HOST_PKG_CARGO_ENV) \
> - PYO3_CROSS_LIB_DIR="$(HOST_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)"
> + PYO3_CROSS_LIB_DIR="$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)"
> # We need to vendor the Cargo crates at download time
> PYTHON_CRYPTOGRAPHY_DOWNLOAD_POST_PROCESS = cargo
> PYTHON_CRYPTOGRAPHY_DOWNLOAD_DEPENDENCIES = host-rustc
> diff --git a/package/python-maturin/python-maturin.mk b/package/python-maturin/python-maturin.mk
> index 3d5ba70391..9ac11f264b 100644
> --- a/package/python-maturin/python-maturin.mk
> +++ b/package/python-maturin/python-maturin.mk
> @@ -16,7 +16,7 @@ HOST_PYTHON_MATURIN_DEPENDENCIES = \
> host-rustc
> HOST_PYTHON_MATURIN_ENV = \
> $(HOST_PKG_CARGO_ENV) \
> - PYO3_CROSS_LIB_DIR="$(HOST_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)"
> + PYO3_CROSS_LIB_DIR="$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR)"
> # We need to vendor the Cargo crates at download time
> PYTHON_MATURIN_DOWNLOAD_POST_PROCESS = cargo
> PYTHON_MATURIN_DOWNLOAD_DEPENDENCIES = host-rustc
> --
> 2.34.1
>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-07-24 10:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-24 8:37 [Buildroot] [PATCH 1/1] package/python-{maturin, cryptograpy}: fix PYO3_CROSS_LIB_DIR path James Hilliard
2022-07-24 10:17 ` Yann E. MORIN
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox