[oe-commits] [meta-openembedded] 16/69: python-m2crypto: inherit siteinfo

git at git.openembedded.org git at git.openembedded.org
Tue Dec 13 10:14:23 UTC 2016


martin_jansa pushed a commit to branch morty-next
in repository meta-openembedded.

commit 9869a2d7890eb1bbf9408e9a0b18fdd63e3160c8
Author: Kai Kang <kai.kang at windriver.com>
AuthorDate: Wed Nov 2 15:26:58 2016 +0800

    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 at windriver.com>
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
    (cherry picked from commit 1e3fe19b5bfb8beef9f9f7d8fda32c61fe0ed123)
    Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
 meta-python/recipes-devtools/python/python-m2crypto_0.23.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-python/recipes-devtools/python/python-m2crypto_0.23.0.bb b/meta-python/recipes-devtools/python/python-m2crypto_0.23.0.bb
index 73d8bb1..ab665d4 100644
--- a/meta-python/recipes-devtools/python/python-m2crypto_0.23.0.bb
+++ b/meta-python/recipes-devtools/python/python-m2crypto_0.23.0.bb
@@ -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"
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list