From: Phil Blundell Date: Sun, 19 Oct 2008 19:35:37 +0000 (+0100) Subject: autotools: also stage python files in ${prefix}/lib X-Git-Tag: Release-2010-05/1~5731^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f36d760101aa3497538fe433d01e793e91c7776;p=openembedded.git autotools: also stage python files in ${prefix}/lib --- 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