From 9f36d760101aa3497538fe433d01e793e91c7776 Mon Sep 17 00:00:00 2001 From: Phil Blundell Date: Sun, 19 Oct 2008 20:35:37 +0100 Subject: autotools: also stage python files in ${prefix}/lib --- classes/autotools.bbclass | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.3