summaryrefslogtreecommitdiffstats
path: root/meta/classes
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:20 +0100
commit3a51c0c6b08738b93b8d38f53cf6ad43f6644c44 (patch)
tree0284c3062e860e0daebddc6f87ac61f5530cef26 /meta/classes
parent5bffd94316d9e6d49afea001c6f0a1d09624379a (diff)
downloadpoky-3a51c0c6b08738b93b8d38f53cf6ad43f6644c44.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 (From OE-Core rev: bc6bd774aa8a3e085e9cabcefb11c3fc537139d5) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-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 690df73717..7588b81542 100644
--- a/meta/classes/distutils.bbclass
+++ b/meta/classes/distutils.bbclass
@@ -39,6 +39,7 @@ distutils_do_install() {
39 PYTHONPATH=${D}/${PYTHON_SITEPACKAGES_DIR} \ 39 PYTHONPATH=${D}/${PYTHON_SITEPACKAGES_DIR} \
40 BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \ 40 BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
41 ${STAGING_BINDIR_NATIVE}/python-native/python setup.py install ${DISTUTILS_INSTALL_ARGS} || \ 41 ${STAGING_BINDIR_NATIVE}/python-native/python setup.py install ${DISTUTILS_INSTALL_ARGS} || \
42 ${STAGING_BINDIR_NATIVE}/python-native/python setup.py install ${DISTUTILS_INSTALL_ARGS} --install-lib=${D}${libdir}/${PYTHON_DIR} || \
42 bbfatal "python setup.py install execution failed." 43 bbfatal "python setup.py install execution failed."
43 44
44 for i in `find ${D} -name "*.py"` ; do \ 45 for i in `find ${D} -name "*.py"` ; do \