summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python_2.7.2.bb
diff options
context:
space:
mode:
authorNitin A Kamble <nitin.a.kamble@intel.com>2012-03-14 11:06:09 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-19 14:37:39 +0000
commitacc1b66677a7326321ce076a4b0cf820b600b088 (patch)
treee6612a5850c898405afc35c4eb304f0a90f422bc /meta/recipes-devtools/python/python_2.7.2.bb
parentf93c98ecd6f8049c03a3c4ed3e2879cb9a38ed1e (diff)
downloadpoky-acc1b66677a7326321ce076a4b0cf820b600b088.tar.gz
python: fix install when libdir is not "lib"
This commit fixes python's install issue of not finding the native pythong binray modules. (From OE-Core rev: bf52e32e09423056c8c78760db22ca7497ec357d) Signed-off-by: Nitin A Kamble <nitin.a.kamble@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.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python_2.7.2.bb b/meta/recipes-devtools/python/python_2.7.2.bb
index d2100be4ac..cb0a1d5a4e 100644
--- a/meta/recipes-devtools/python/python_2.7.2.bb
+++ b/meta/recipes-devtools/python/python_2.7.2.bb
@@ -21,6 +21,7 @@ SRC_URI += "\
21 file://add-md5module-support.patch \ 21 file://add-md5module-support.patch \
22 file://host_include_contamination.patch \ 22 file://host_include_contamination.patch \
23 file://sys_platform_is_now_always_linux2.patch \ 23 file://sys_platform_is_now_always_linux2.patch \
24 file://fix_for_using_different_libdir.patch \
24" 25"
25 26
26S = "${WORKDIR}/Python-${PV}" 27S = "${WORKDIR}/Python-${PV}"
@@ -99,6 +100,7 @@ do_install() {
99 100
100 oe_runmake HOSTPGEN=${STAGING_BINDIR_NATIVE}/pgen \ 101 oe_runmake HOSTPGEN=${STAGING_BINDIR_NATIVE}/pgen \
101 HOSTPYTHON=${STAGING_BINDIR_NATIVE}/python \ 102 HOSTPYTHON=${STAGING_BINDIR_NATIVE}/python \
103 CROSSPYTHONPATH=${STAGING_LIBDIR_NATIVE}/python${PYTHON_MAJMIN}/lib-dynload/ \
102 STAGING_LIBDIR=${STAGING_LIBDIR} \ 104 STAGING_LIBDIR=${STAGING_LIBDIR} \
103 STAGING_INCDIR=${STAGING_INCDIR} \ 105 STAGING_INCDIR=${STAGING_INCDIR} \
104 BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \ 106 BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \