Need to export these environment variables for python-config to work.

Signed-off-by: Chong Lu <[email protected]>
---
 meta/classes/pythonnative.bbclass |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta/classes/pythonnative.bbclass 
b/meta/classes/pythonnative.bbclass
index fdd22bb..58a5b5c 100644
--- a/meta/classes/pythonnative.bbclass
+++ b/meta/classes/pythonnative.bbclass
@@ -4,3 +4,7 @@ inherit python-dir
 PYTHON="${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN}"
 EXTRANATIVEPATH += "${PYTHON_PN}-native"
 DEPENDS += " ${PYTHON_PN}-native "
+export STAGING_INCDIR
+export STAGING_LIBDIR
+export BUILD_SYS
+export HOST_SYS
-- 
1.7.9.5

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to