python3-m2crypto: fix word size for qemuppc64 little endian
PATCH 1/1 python3-m2crypto: fix word size for qemuppc64 little endian
From: Kai Kang <[email protected]>
It fails to compile python3-m2crypto for qemuppc64 little endian:
| /path/to/tmp-glibc/work/ppc64p9le-wrs-linux/python3-m2crypto/0.37.1-r0/
recipe-sysroot/usr/include/openssl/opensslconf.h:23:
| Error: Unable to find 'openssl/opensslconf-32.h'
It defines '__powerpc64le__' but expects '__powerpc64__'. Define the right macro for qemuppc64le.
Signed-off-by Kai Kang <[email protected]>
--- meta-python/recipes-devtools/python/python3-m2crypto_0.37.1.bb | 1 + 1 file changed, 1 insertion(+)
meta-python/recipes-devtools/python/python3-m2crypto_0.37.1.bb +1 -0
@@ -39,6 +39,7 @@ SWIG_FEATURES ?= "-D__${HOST_ARCH}__ ${@['-D__ILP32__','-D__LP64__'][d.getVar('S SWIG_FEATURES_append_riscv64 = " -D__SIZEOF_POINTER__=${SITEINFO_BITS}/8 -D__riscv_xlen=${SITEINFO_BITS}" SWIG_FEATURES_append_riscv32 = " -D__SIZEOF_POINTER__=${SITEINFO_BITS}/8 -D__riscv_xlen=${SITEINFO_BITS}" SWIG_FEATURES_append_mipsarch = " -D_MIPS_SZPTR=${SITEINFO_BITS}" +SWIG_FEATURES_append_powerpc64le = " -D__powerpc64__" export SWIG_FEATURES BBCLASSEXTEND = "native"
Signature · 1 line
2.17.1