aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes/distutils.bbclass
diff options
context:
space:
mode:
authorMatthew McClintock <msm@freescale.com>2012-08-13 14:44:31 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-17 18:04:09 +0100
commitbc6bd774aa8a3e085e9cabcefb11c3fc537139d5 (patch)
tree6f6d651bac341497428c94b1619884a06980bbcd /meta/classes/distutils.bbclass
parentb09c45f017da71ff966004752f8e926ea00ac451 (diff)
downloadopenembedded-core-contrib-bc6bd774aa8a3e085e9cabcefb11c3fc537139d5.tar.gz
distutils.bbclass: fix libdir for 64-bit python modules built with distutils
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> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/classes/distutils.bbclass')
-rw-r--r--meta/classes/distutils.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/distutils.bbclass b/meta/classes/distutils.bbclass
index 690df737172..7588b815421 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 \