summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/python3native.bbclass3
-rw-r--r--meta/classes/pythonnative.bbclass3
2 files changed, 6 insertions, 0 deletions
diff --git a/meta/classes/python3native.bbclass b/meta/classes/python3native.bbclass
index ef468b3fde..89665efee8 100644
--- a/meta/classes/python3native.bbclass
+++ b/meta/classes/python3native.bbclass
@@ -9,5 +9,8 @@ DEPENDS_append = " ${PYTHON_PN}-native "
9export STAGING_INCDIR 9export STAGING_INCDIR
10export STAGING_LIBDIR 10export STAGING_LIBDIR
11 11
12# suppress host user's site-packages dirs.
13export PYTHONNOUSERSITE = "1"
14
12# autoconf macros will use their internal default preference otherwise 15# autoconf macros will use their internal default preference otherwise
13export PYTHON 16export PYTHON
diff --git a/meta/classes/pythonnative.bbclass b/meta/classes/pythonnative.bbclass
index 4e0381b568..4cc8b2769c 100644
--- a/meta/classes/pythonnative.bbclass
+++ b/meta/classes/pythonnative.bbclass
@@ -12,5 +12,8 @@ DEPENDS_append = " ${PYTHON_PN}-native "
12export STAGING_INCDIR 12export STAGING_INCDIR
13export STAGING_LIBDIR 13export STAGING_LIBDIR
14 14
15# suppress host user's site-packages dirs.
16export PYTHONNOUSERSITE = "1"
17
15# autoconf macros will use their internal default preference otherwise 18# autoconf macros will use their internal default preference otherwise
16export PYTHON 19export PYTHON