diff options
author | Lianhao Lu <lianhao.lu@intel.com> | 2012-04-08 22:01:07 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-04-11 12:47:58 +0100 |
commit | 99591085186c465f2ddfaef08f419ec7584d4522 (patch) | |
tree | 6fb36a3606d036543616dc6018400400f7fffee1 /meta/recipes-devtools/python/python_2.7.2.bb | |
parent | b7f4e8d153c2aebbcf6556e7e926f6b94801d6aa (diff) | |
download | openembedded-core-99591085186c465f2ddfaef08f419ec7584d4522.tar.gz openembedded-core-99591085186c465f2ddfaef08f419ec7584d4522.tar.bz2 openembedded-core-99591085186c465f2ddfaef08f419ec7584d4522.tar.xz openembedded-core-99591085186c465f2ddfaef08f419ec7584d4522.zip |
python: multilib header support.
Add intercept multilib header for pyconfig.h in python.
This is part of the bug fixing [YOCTO #2216].
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python_2.7.2.bb')
-rw-r--r-- | meta/recipes-devtools/python/python_2.7.2.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-devtools/python/python_2.7.2.bb b/meta/recipes-devtools/python/python_2.7.2.bb index 53e994f4b..d1d0d83b7 100644 --- a/meta/recipes-devtools/python/python_2.7.2.bb +++ b/meta/recipes-devtools/python/python_2.7.2.bb @@ -25,7 +25,7 @@ SRC_URI += "\ S = "${WORKDIR}/Python-${PV}" -inherit autotools +inherit autotools multilib_header # The 3 lines below are copied from the libffi recipe, ctypes ships its own copy of the libffi sources #Somehow gcc doesn't set __SOFTFP__ when passing -mfloatabi=softp :( @@ -113,6 +113,8 @@ do_install() { if [ -e ${WORKDIR}/sitecustomize.py ]; then install -m 0644 ${WORKDIR}/sitecustomize.py ${D}/${libdir}/python${PYTHON_MAJMIN} fi + + oe_multilib_header python${PYTHON_MAJMIN}/pyconfig.h } SSTATE_SCAN_FILES += "Makefile" |