package/python-{maturin, cryptograpy}: fix PYO3_CROSS_LIB_DIR path
PATCH 1/1 package/python-{maturin, cryptograpy}: fix PYO3_CROSS_LIB_DIR path
Host paths should not have /usr in them.
Signed-off-by James Hilliard <[email protected]>
--- package/python-cryptography/python-cryptography.mk | 2 +- package/python-maturin/python-maturin.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
package/python-cryptography/python-cryptography.mk +1 -1
@@ -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
package/python-maturin/python-maturin.mk +1 -1
@@ -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
Signature · 6 lines
2.34.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
James,
On 2022-07-24 02:37 -0600, James Hilliard spake thusly:
Quoted 1 line
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.
Quoted 39 lines
Signed-off-by James Hilliard <[email protected]>--- package/python-cryptography/python-cryptography.mk | 2 +- package/python-maturin/python-maturin.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)package/python-cryptography/python-cryptography.mk +1
-1@@ -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-rustcpackage/python-maturin/python-maturin.mk +1
-1@@ -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-rustcSignature · 6 lines
2.34.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------. | 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 [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot