diff options
Diffstat (limited to 'meta/classes/pythonnative.bbclass')
-rw-r--r-- | meta/classes/pythonnative.bbclass | 8 |
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}" | |||
6 | PYTHON_EXECUTABLE="${PYTHON}" | 6 | PYTHON_EXECUTABLE="${PYTHON}" |
7 | EXTRANATIVEPATH += "${PYTHON_PN}-native" | 7 | EXTRANATIVEPATH += "${PYTHON_PN}-native" |
8 | DEPENDS += " ${PYTHON_PN}-native " | 8 | DEPENDS += " ${PYTHON_PN}-native " |
9 | |||
10 | # python-config and other scripts are using distutils modules | ||
11 | # which we patch to access these variables | ||
12 | export STAGING_INCDIR | ||
13 | export STAGING_LIBDIR | ||
14 | |||
15 | # autoconf macros will use their internal default preference otherwise | ||
16 | export PYTHON | ||