From: Michael Lauer Date: Wed, 22 Aug 2007 13:47:30 +0000 (+0000) Subject: distutils.bbclass: always install staging directory before calling python X-Git-Tag: Release-2010-05/1~8836^2~11^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ad1eead848e02c6eea27c34e869126d81cb6355;p=openembedded.git distutils.bbclass: always install staging directory before calling python --- diff --git a/classes/distutils.bbclass b/classes/distutils.bbclass index 8a34594a70..c07a9911cd 100644 --- a/classes/distutils.bbclass +++ b/classes/distutils.bbclass @@ -13,7 +13,8 @@ distutils_stage_headers() { } distutils_stage_all() { - PYTHONPATH=${STAGING_INCDIR}/../${PYTHON_DIR}/site-packages \ + install -d ${STAGING_INCDIR}/../${PYTHON_DIR}/site-packages + PYTHONPATH=${STAGING_INCDIR}/../${PYTHON_DIR}/site-packages \ BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \ ${STAGING_BINDIR_NATIVE}/python setup.py install --prefix=${STAGING_INCDIR}/.. --install-data=${STAGING_INCDIR}/../share || \ oefatal "python setup.py install (stage) execution failed."