diff options
-rw-r--r-- | meta/recipes-core/meta/package-index.bb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-core/meta/package-index.bb b/meta/recipes-core/meta/package-index.bb index bf3922f6d1..96d54e3664 100644 --- a/meta/recipes-core/meta/package-index.bb +++ b/meta/recipes-core/meta/package-index.bb @@ -21,6 +21,9 @@ do_populate_sysroot[noexec] = "1" do_package_index[nostamp] = "1" do_package_index[depends] += "${PACKAGEINDEXDEPS}" +# Force NATIVE python to use modules from STAGING_DIR_NATIVE +export PYTHONHOME = "${STAGING_DIR_NATIVE}/usr" + do_package_index() { set -ex ${PACKAGEINDEXES} |