[OE-core] [PATCH] python-native: export some environment variables

Chong Lu Chong.Lu at windriver.com
Sat Feb 22 05:54:37 UTC 2014


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

Signed-off-by: Chong Lu <Chong.Lu at windriver.com>
---
 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




More information about the Openembedded-core mailing list