summaryrefslogtreecommitdiffstats
path: root/meta/classes/pythonnative.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/pythonnative.bbclass')
-rw-r--r--meta/classes/pythonnative.bbclass8
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/classes/pythonnative.bbclass b/meta/classes/pythonnative.bbclass
index 97029dc525..bd239fa792 100644
--- a/meta/classes/pythonnative.bbclass
+++ b/meta/classes/pythonnative.bbclass
@@ -6,3 +6,11 @@ PYTHON="${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN}"
6PYTHON_EXECUTABLE="${PYTHON}" 6PYTHON_EXECUTABLE="${PYTHON}"
7EXTRANATIVEPATH += "${PYTHON_PN}-native" 7EXTRANATIVEPATH += "${PYTHON_PN}-native"
8DEPENDS += " ${PYTHON_PN}-native " 8DEPENDS += " ${PYTHON_PN}-native "
9
10# python-config and other scripts are using distutils modules
11# which we patch to access these variables
12export STAGING_INCDIR
13export STAGING_LIBDIR
14
15# autoconf macros will use their internal default preference otherwise
16export PYTHON