diff options
author | Koen Kooi <koen@openembedded.org> | 2008-10-02 11:16:31 +0000 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2008-10-02 11:16:31 +0000 |
commit | 694a6cbc5b4f0a6d0e66aa0a151849baa6c34e58 (patch) | |
tree | 0cd5e3ea953e1d101fd409b5d91bca33f506a22a | |
parent | 52b7f87c569f44819a343e6faa7b2be510d5527e (diff) |
distutils bbclass: sync with poky
-rw-r--r-- | classes/distutils.bbclass | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/classes/distutils.bbclass b/classes/distutils.bbclass index a35ca27bd4..694d6bc5d9 100644 --- a/classes/distutils.bbclass +++ b/classes/distutils.bbclass @@ -8,6 +8,8 @@ DISTUTILS_INSTALL_ARGS ?= "--prefix=${D}/${prefix} \ --install-data=${D}/${datadir}" distutils_do_compile() { + STAGING_INCDIR=${STAGING_INCDIR} \ + STAGING_LIBDIR=${STAGING_LIBDIR} \ BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \ ${STAGING_BINDIR_NATIVE}/python setup.py build ${DISTUTILS_BUILD_ARGS} || \ oefatal "python setup.py build_ext execution failed." @@ -21,6 +23,8 @@ distutils_stage_headers() { } distutils_stage_all() { + STAGING_INCDIR=${STAGING_INCDIR} \ + STAGING_LIBDIR=${STAGING_LIBDIR} \ install -d ${STAGING_DIR_HOST}${layout_libdir}/${PYTHON_DIR}/site-packages PYTHONPATH=${STAGING_DIR_HOST}${layout_libdir}/${PYTHON_DIR}/site-packages \ BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \ @@ -30,6 +34,8 @@ distutils_stage_all() { distutils_do_install() { install -d ${D}${libdir}/${PYTHON_DIR}/site-packages + STAGING_INCDIR=${STAGING_INCDIR} \ + STAGING_LIBDIR=${STAGING_LIBDIR} \ PYTHONPATH=${D}/${libdir}/${PYTHON_DIR}/site-packages \ BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \ ${STAGING_BINDIR_NATIVE}/python setup.py install ${DISTUTILS_INSTALL_ARGS} || \ |