From b8a86b2e210d022ed3aa7bebc7cb11fbff6b1e79 Mon Sep 17 00:00:00 2001 From: Matthew McClintock Date: Mon, 13 Aug 2012 14:44:31 -0500 Subject: [PATCH] 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 Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- 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 \ -- 2.7.4