diff options
author | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2008-10-02 11:30:09 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2008-10-02 11:30:09 +0000 |
commit | d5a76b0ccd1dee2133e8c69d770f1b3c3c770ebd (patch) | |
tree | fab1ae9e88de6432617e4eb06b99bb84c4ef89c1 /classes/distutils.bbclass | |
parent | 0d2076ed8e2a9566573bc16db2ada8a01fa1db29 (diff) | |
parent | 9043f995bef80e7000e28d4ec628abe2d364ff06 (diff) |
merge of '23575cb366ac6706d85f4cc91b22f06ce1e10a0d'
and 'b14d208c68db08fe1a8827e66c5551d6e362146b'
Diffstat (limited to 'classes/distutils.bbclass')
-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} || \ |