aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Orling <ticotimo@gmail.com>2019-11-30 12:30:14 -0800
committerTim Orling <ticotimo@gmail.com>2019-12-01 18:08:12 -0800
commitf7424e920d5a48156c7a2e63b53ed4558250d264 (patch)
tree0a8f79598de752949a33c8e7b1ade54cccb4e367
parent0ce53b5fae426a238eaf2702bd4c8db6dd2c6ebd (diff)
downloadmeta-python2-f7424e920d5a48156c7a2e63b53ed4558250d264.tar.gz
python-pycrypto: fix build; deprecation warning
The cross-compile.patch requires HOST_SYS to be defined as an environment variable. WARNING: pycrypto is unmaintained and deprecated. It is STRONGLY recommended to use python-pycryptodomex or python-cryptography. Signed-off-by: Tim Orling <ticotimo@gmail.com>
-rw-r--r--recipes-devtools/python/python-pycrypto_2.6.1.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/recipes-devtools/python/python-pycrypto_2.6.1.bb b/recipes-devtools/python/python-pycrypto_2.6.1.bb
index 5750b17..155027c 100644
--- a/recipes-devtools/python/python-pycrypto_2.6.1.bb
+++ b/recipes-devtools/python/python-pycrypto_2.6.1.bb
@@ -13,7 +13,9 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/python-pycrypto:"
DEPENDS += " gmp"
-inherit pypi autotools-brokensep distutils
+export HOST_SYS
+
+inherit autotools pypi autotools-brokensep distutils
SRC_URI += "file://cross-compiling.patch \
file://CVE-2013-7459.patch \