summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-devtools/python/python3-cryptography_40.0.2.bb6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-cryptography_40.0.2.bb b/meta/recipes-devtools/python/python3-cryptography_40.0.2.bb
index 44c2cc60244..b42b9131ab0 100644
--- a/meta/recipes-devtools/python/python3-cryptography_40.0.2.bb
+++ b/meta/recipes-devtools/python/python3-cryptography_40.0.2.bb
@@ -24,9 +24,15 @@ inherit pypi python_setuptools3_rust cargo-update-recipe-crates pkgconfig
DEPENDS += " \
${PYTHON_PN}-cffi-native \
+ openssl-native \
"
+export OPENSSL_NO_VENDOR = "1"
+export OPENSSL_DIR = "${STAGING_DIR_HOST}"
+export X86_64_POKY_LINUX_GNU_OPENSSL_DIR = "${STAGING_DIR_TARGET}/usr"
+
RDEPENDS:${PN} += " \
+ openssl \
${PYTHON_PN}-cffi \
"