summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-devtools/python/python-native_2.7.3.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python-native_2.7.3.bb b/meta/recipes-devtools/python/python-native_2.7.3.bb
index 827654dfa2..e55f5feac2 100644
--- a/meta/recipes-devtools/python/python-native_2.7.3.bb
+++ b/meta/recipes-devtools/python/python-native_2.7.3.bb
@@ -58,4 +58,8 @@ do_install() {
58 # (these often end up too long for the #! parser in the kernel as the 58 # (these often end up too long for the #! parser in the kernel as the
59 # buffer is 128 bytes long). 59 # buffer is 128 bytes long).
60 ln -s python-native/python ${D}${bindir}/nativepython 60 ln -s python-native/python ${D}${bindir}/nativepython
61
62 # We don't want modules in ~/.local being used in preference to those
63 # installed in the native sysroot, so disable user site support.
64 sed -i -e 's,^\(ENABLE_USER_SITE = \).*,\1False,' ${D}${libdir}/python${PYTHON_MAJMIN}/site.py
61} 65}