python-m2crypto: inherit siteinfo

In recipe of python-m2crypto, it uses var SITEINFO_BITS which is from
siteinfo.bbclass. Inherit siteinfo.bbclass to avoid compile error:

| .../tmp/sysroots/qemumips64/usr/include/openssl/opensslconf.h:47:
| Error: CPP #error ""Unknown __WORDSIZE detected"".
| Use the -cpperraswarn option to continue swig processing.
| error: command 'swig' failed with exit status 1

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
(cherry picked from commit 1e3fe19b5b)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Kai Kang 2016-11-02 15:26:58 +08:00 committed by Armin Kuster
parent f169b4043e
commit 9869a2d789

View File

@ -10,7 +10,7 @@ SRC_URI[sha256sum] = "1ac3b6eafa5ff7e2a0796675316d7569b28aada45a7ab74042ad089d15
SRC_URI += "file://0001-setup.py-link-in-sysroot-not-in-host-directories.patch "
PYPI_PACKAGE = "M2Crypto"
inherit pypi setuptools
inherit pypi setuptools siteinfo
DEPENDS += "openssl swig-native"