summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-m2crypto_0.38.0.bb
diff options
context:
space:
mode:
authorKai Kang <kai.kang@windriver.com>2021-08-11 10:49:25 +0800
committerKhem Raj <raj.khem@gmail.com>2021-08-16 08:21:14 -0700
commit5d6fc2c1a18b64986bb69965b0119006b20cfe65 (patch)
treeee175aab74a17818a2336bdd5dd950e15824df0e /meta-python/recipes-devtools/python/python3-m2crypto_0.38.0.bb
parent82c9ddd853c44b1f2e349657f32e6b8555a77704 (diff)
downloadmeta-openembedded-5d6fc2c1a18b64986bb69965b0119006b20cfe65.tar.gz
python3-m2crypto: fix for new overrides syntax
Fix wrong replacement caused by script convert-overrides.py. And use new overrides syntax for 'x32'. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-m2crypto_0.38.0.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-m2crypto_0.38.0.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-python/recipes-devtools/python/python3-m2crypto_0.38.0.bb b/meta-python/recipes-devtools/python/python3-m2crypto_0.38.0.bb
index e0f4870be..e1ee99bae 100644
--- a/meta-python/recipes-devtools/python/python3-m2crypto_0.38.0.bb
+++ b/meta-python/recipes-devtools/python/python3-m2crypto_0.38.0.bb
@@ -31,14 +31,14 @@ DISTUTILS_BUILD_ARGS += "build_ext --openssl=${STAGING_EXECPREFIXDIR} -I${STAGIN
31DISTUTILS_INSTALL_ARGS += "build_ext --openssl=${STAGING_EXECPREFIXDIR}" 31DISTUTILS_INSTALL_ARGS += "build_ext --openssl=${STAGING_EXECPREFIXDIR}"
32 32
33SWIG_FEATURES:x86 = "-D__i386__" 33SWIG_FEATURES:x86 = "-D__i386__"
34SWIG_FEATURES_x32 = "-D__ILP32__" 34SWIG_FEATURES:x32 = "-D__ILP32__"
35 35
36SWIG_FEATURES ?= "-D__${HOST_ARCH}__ ${@['-D__ILP32__','-D__LP64__'][d.getVar('SITEINFO_BITS') != '32']}" 36SWIG_FEATURES ?= "-D__${HOST_ARCH}__ ${@['-D__ILP32__','-D__LP64__'][d.getVar('SITEINFO_BITS') != '32']}"
37 37
38SWIG_FEATURES:append:riscv64 = " -D__SIZEOF_POINTER__=${SITEINFO_BITS}/8 -D__riscv_xlen=${SITEINFO_BITS}" 38SWIG_FEATURES:append:riscv64 = " -D__SIZEOF_POINTER__=${SITEINFO_BITS}/8 -D__riscv_xlen=${SITEINFO_BITS}"
39SWIG_FEATURES:append:riscv32 = " -D__SIZEOF_POINTER__=${SITEINFO_BITS}/8 -D__riscv_xlen=${SITEINFO_BITS}" 39SWIG_FEATURES:append:riscv32 = " -D__SIZEOF_POINTER__=${SITEINFO_BITS}/8 -D__riscv_xlen=${SITEINFO_BITS}"
40SWIG_FEATURES:append:mipsarch = " -D_MIPS_SZPTR=${SITEINFO_BITS}" 40SWIG_FEATURES:append:mipsarch = " -D_MIPS_SZPTR=${SITEINFO_BITS}"
41SWIG_FEATURES:append:powerpc64le = " -D_:powerpc64__" 41SWIG_FEATURES:append:powerpc64le = " -D__powerpc64__"
42export SWIG_FEATURES 42export SWIG_FEATURES
43 43
44export STAGING_DIR 44export STAGING_DIR