Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Saul Wold <sgw@linux.intel.com>
To: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Cc: Matthew McClintock <msm@freescale.com>
Subject: Re: [PATCH] distutils.bbclass: fix libdir for 64-bit python modules built with distutils
Date: Fri, 17 Aug 2012 13:59:08 -0700	[thread overview]
Message-ID: <502EB09C.8080709@linux.intel.com> (raw)
In-Reply-To: <1344887071-10378-1-git-send-email-msm@freescale.com>

On 08/13/2012 12:44 PM, Matthew McClintock wrote:
> Without this some modules will be intalled in /usr/lib/python2.6/
> instead of /usr/${libdir}/python2.6
>
> Signed-off-by: Matthew McClintock <msm@freescale.com>
> ---
>   meta/classes/distutils.bbclass |    1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/meta/classes/distutils.bbclass b/meta/classes/distutils.bbclass
> index 690df73..7588b81 100644
> --- a/meta/classes/distutils.bbclass
> +++ b/meta/classes/distutils.bbclass
> @@ -39,6 +39,7 @@ distutils_do_install() {
>           PYTHONPATH=${D}/${PYTHON_SITEPACKAGES_DIR} \
>           BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
>           ${STAGING_BINDIR_NATIVE}/python-native/python setup.py install ${DISTUTILS_INSTALL_ARGS} || \
> +        ${STAGING_BINDIR_NATIVE}/python-native/python setup.py install ${DISTUTILS_INSTALL_ARGS} --install-lib=${D}${libdir}/${PYTHON_DIR} || \
>           bbfatal "python setup.py install execution failed."
>
>           for i in `find ${D} -name "*.py"` ; do \
>
Merged into OE-Core

Thanks
	Sau!




      reply	other threads:[~2012-08-17 21:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-13 19:44 [PATCH] distutils.bbclass: fix libdir for 64-bit python modules built with distutils Matthew McClintock
2012-08-17 20:59 ` Saul Wold [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=502EB09C.8080709@linux.intel.com \
    --to=sgw@linux.intel.com \
    --cc=msm@freescale.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox