On Wed, Mar 14, 2012 at 07:02:14PM -0700, [email protected] wrote: > From: Nitin A Kamble <[email protected]> > > This commit fixes python's install issue of not finding the > native pythong binray modules. > > Signed-off-by: Nitin A Kamble <[email protected]> > --- > .../python/fix_for_using_different_libdir.patch | 78 > ++++++++++++++++++++ > meta/recipes-devtools/python/python_2.7.2.bb | 3 +- > 2 files changed, 80 insertions(+), 1 deletions(-) > create mode 100644 > meta/recipes-devtools/python/python/fix_for_using_different_libdir.patch > > diff --git a/meta/recipes-devtools/python/python_2.7.2.bb > b/meta/recipes-devtools/python/python_2.7.2.bb > index d2100be..412b294 100644 > --- a/meta/recipes-devtools/python/python_2.7.2.bb > +++ b/meta/recipes-devtools/python/python_2.7.2.bb > @@ -20,7 +20,7 @@ SRC_URI += "\ > file://setup_py_skip_cross_import_check.patch \ > file://add-md5module-support.patch \ > file://host_include_contamination.patch \ > - file://sys_platform_is_now_always_linux2.patch \ > + file://fix_for_using_different_libdir.patch \
^ really?
> "
>
> S = "${WORKDIR}/Python-${PV}"
> @@ -99,6 +99,7 @@ do_install() {
>
> oe_runmake HOSTPGEN=${STAGING_BINDIR_NATIVE}/pgen \
> HOSTPYTHON=${STAGING_BINDIR_NATIVE}/python \
> +
> CROSSPYTHONPATH=${STAGING_LIBDIR_NATIVE}/python${PYTHON_MAJMIN}/lib-dynload/ \
> STAGING_LIBDIR=${STAGING_LIBDIR} \
> STAGING_INCDIR=${STAGING_INCDIR} \
> BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
--
Martin 'JaMa' Jansa jabber: [email protected]
signature.asc
Description: Digital signature
_______________________________________________ Openembedded-core mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
