diff options
| author | Matthew McClintock <msm@freescale.com> | 2012-08-13 14:44:31 -0500 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-09-28 16:53:06 +0100 |
| commit | a99b03e3eddb74067b2abca9619710090648c4d9 (patch) | |
| tree | 11f9988ad85a26bb5fc3ea5c1fdf21e1c3fabcf3 /meta | |
| parent | 1773d1da62972de6ec960bb679ec4a3a614ff5b6 (diff) | |
| download | poky-a99b03e3eddb74067b2abca9619710090648c4d9.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)
(From OE-Core rev: fc513eda1cfccc583f49847c3c04b5c781585e15)
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')
| -rw-r--r-- | meta/classes/distutils.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/distutils.bbclass b/meta/classes/distutils.bbclass index 18ae805f7b..67ad5b3416 100644 --- a/meta/classes/distutils.bbclass +++ b/meta/classes/distutils.bbclass | |||
| @@ -38,7 +38,7 @@ distutils_do_install() { | |||
| 38 | STAGING_LIBDIR=${STAGING_LIBDIR} \ | 38 | STAGING_LIBDIR=${STAGING_LIBDIR} \ |
| 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 setup.py install ${DISTUTILS_INSTALL_ARGS} || \ | 41 | ${STAGING_BINDIR_NATIVE}/python setup.py install ${DISTUTILS_INSTALL_ARGS} --install-lib=${D}${libdir}/${PYTHON_DIR} || \ |
| 42 | bbfatal "python setup.py install execution failed." | 42 | bbfatal "python setup.py install execution failed." |
| 43 | 43 | ||
| 44 | for i in `find ${D} -name "*.py"` ; do \ | 44 | for i in `find ${D} -name "*.py"` ; do \ |
