From 1ad1eead848e02c6eea27c34e869126d81cb6355 Mon Sep 17 00:00:00 2001 From: Michael Lauer Date: Wed, 22 Aug 2007 13:47:30 +0000 Subject: distutils.bbclass: always install staging directory before calling python --- classes/distutils.bbclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'classes/distutils.bbclass') 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." -- cgit v1.2.3