[oe-commits] Phil Blundell : autotools: also stage python files in ${prefix}/lib

GIT User account git at amethyst.openembedded.net
Sun Oct 19 19:36:59 UTC 2008


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 9f36d760101aa3497538fe433d01e793e91c7776
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=9f36d760101aa3497538fe433d01e793e91c7776

Author: Phil Blundell <philb at gnu.org>
Date:   Sun Oct 19 20:35:37 2008 +0100

autotools: also stage python files in ${prefix}/lib

---

 classes/autotools.bbclass |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/classes/autotools.bbclass b/classes/autotools.bbclass
index b4e78f8..82b5311 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





More information about the Openembedded-commits mailing list