Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] distutils.bbclass: fix libdir for 64-bit python modules built with distutils
@ 2012-08-13 19:44 Matthew McClintock
  2012-08-17 20:59 ` Saul Wold
  0 siblings, 1 reply; 2+ messages in thread
From: Matthew McClintock @ 2012-08-13 19:44 UTC (permalink / raw)
  To: openembedded-core

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 \
-- 
1.7.9.7





^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-08-17 21:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox