diff options
| -rw-r--r-- | meta/recipes-devtools/python/python3_3.10.6.bb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3_3.10.6.bb b/meta/recipes-devtools/python/python3_3.10.6.bb index f19cd50273..1b28728732 100644 --- a/meta/recipes-devtools/python/python3_3.10.6.bb +++ b/meta/recipes-devtools/python/python3_3.10.6.bb | |||
| @@ -171,6 +171,9 @@ do_install:append:class-native() { | |||
| 171 | # Nothing should be looking into ${B} for python3-native | 171 | # Nothing should be looking into ${B} for python3-native |
| 172 | sed -i -e 's:${B}:/build/path/unavailable/:g' \ | 172 | sed -i -e 's:${B}:/build/path/unavailable/:g' \ |
| 173 | ${D}/${libdir}/python${PYTHON_MAJMIN}/config-${PYTHON_MAJMIN}${PYTHON_ABI}*/Makefile | 173 | ${D}/${libdir}/python${PYTHON_MAJMIN}/config-${PYTHON_MAJMIN}${PYTHON_ABI}*/Makefile |
| 174 | |||
| 175 | # disable the lookup in user's site-packages globally | ||
| 176 | sed -i 's#ENABLE_USER_SITE = None#ENABLE_USER_SITE = False#' ${D}${libdir}/python${PYTHON_MAJMIN}/site.py | ||
| 174 | } | 177 | } |
| 175 | 178 | ||
| 176 | do_install:append() { | 179 | do_install:append() { |
