|
@@ -17,14 +17,26 @@ PYTHON_CRYPTOGRAPHY_DEPENDENCIES = \
|
|
|
host-python-cffi \
|
|
|
host-rustc \
|
|
|
openssl
|
|
|
+HOST_PYTHON_CRYPTOGRAPHY_DEPENDENCIES = \
|
|
|
+ host-python-setuptools-rust \
|
|
|
+ host-python-cffi \
|
|
|
+ host-rustc \
|
|
|
+ host-openssl
|
|
|
PYTHON_CRYPTOGRAPHY_ENV = \
|
|
|
$(PKG_CARGO_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)"
|
|
|
# We need to vendor the Cargo crates at download time
|
|
|
PYTHON_CRYPTOGRAPHY_DOWNLOAD_POST_PROCESS = cargo
|
|
|
PYTHON_CRYPTOGRAPHY_DOWNLOAD_DEPENDENCIES = host-rustc
|
|
|
PYTHON_CRYPTOGRAPHY_DL_ENV = \
|
|
|
$(PKG_CARGO_ENV) \
|
|
|
BR_CARGO_MANIFEST_PATH=src/rust/Cargo.toml
|
|
|
+HOST_PYTHON_CRYPTOGRAPHY_DL_ENV = \
|
|
|
+ $(HOST_PKG_CARGO_ENV) \
|
|
|
+ BR_CARGO_MANIFEST_PATH=src/rust/Cargo.toml
|
|
|
|
|
|
$(eval $(python-package))
|
|
|
+$(eval $(host-python-package))
|