summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2008-10-19 20:35:37 +0100
committerPhil Blundell <philb@gnu.org>2008-10-19 20:35:37 +0100
commit9f36d760101aa3497538fe433d01e793e91c7776 (patch)
tree21bb0a7120bb18575ac5d608f4d4253ba4ad27e3 /classes
parent02735830de924c6ce96f28d5d37a714f9eece092 (diff)
autotools: also stage python files in ${prefix}/lib
Diffstat (limited to 'classes')
-rw-r--r--classes/autotools.bbclass4
1 files changed, 4 insertions, 0 deletions
diff --git a/classes/autotools.bbclass b/classes/autotools.bbclass
index b4e78f8118..82b5311ef5 100644
--- a/classes/autotools.bbclass
+++ b/classes/autotools.bbclass
@@ -190,6 +190,10 @@ autotools_stage_all() {
autotools_stage_dir ${STAGE_TEMP}/${base_bindir} ${STAGING_DIR_HOST}${layout_base_bindir}
autotools_stage_dir ${STAGE_TEMP}/${base_sbindir} ${STAGING_DIR_HOST}${layout_base_sbindir}
autotools_stage_dir ${STAGE_TEMP}/${libexecdir} ${STAGING_DIR_HOST}${layout_libexecdir}
+ if [ "${prefix}/lib" != "${libdir}" ]; then
+ # python puts its files in here, make sure they are staged as well
+ autotools_stage_dir ${STAGE_TEMP}/${prefix}/lib ${STAGING_DIR_HOST}${layout_prefix}/lib
+ fi
fi
if [ -d ${STAGE_TEMP}/${libdir} ]
then