summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2007-08-22 13:47:30 +0000
committerMichael Lauer <mickey@vanille-media.de>2007-08-22 13:47:30 +0000
commit1ad1eead848e02c6eea27c34e869126d81cb6355 (patch)
treee592e3df07eecce286e7a0290f08f82b42b22a27 /classes
parent92e8875b1fd782b8ddfae1d90f273ccf61de4ca0 (diff)
distutils.bbclass: always install staging directory before calling python
Diffstat (limited to 'classes')
-rw-r--r--classes/distutils.bbclass3
1 files changed, 2 insertions, 1 deletions
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."