diff options
Diffstat (limited to 'import-layers/yocto-poky/meta/classes/pythonnative.bbclass')
-rw-r--r-- | import-layers/yocto-poky/meta/classes/pythonnative.bbclass | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/import-layers/yocto-poky/meta/classes/pythonnative.bbclass b/import-layers/yocto-poky/meta/classes/pythonnative.bbclass index 97029dc52..4e0381b56 100644 --- a/import-layers/yocto-poky/meta/classes/pythonnative.bbclass +++ b/import-layers/yocto-poky/meta/classes/pythonnative.bbclass @@ -5,4 +5,12 @@ PYTHON="${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN}" # PYTHON_EXECUTABLE is used by cmake PYTHON_EXECUTABLE="${PYTHON}" EXTRANATIVEPATH += "${PYTHON_PN}-native" -DEPENDS += " ${PYTHON_PN}-native " +DEPENDS_append = " ${PYTHON_PN}-native " + +# python-config and other scripts are using distutils modules +# which we patch to access these variables +export STAGING_INCDIR +export STAGING_LIBDIR + +# autoconf macros will use their internal default preference otherwise +export PYTHON |