diff options
-rw-r--r-- | Lib/site.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/site.py b/Lib/site.py index 0a0dc47b174..6ab0a31f679 100644 --- a/Lib/site.py +++ b/Lib/site.py @@ -415,6 +415,7 @@ def getsitepackages(prefixes=None): def addsitepackages(known_paths, prefixes=None): """Add site-packages to sys.path""" + if os.environ.get("GENTOO_CPYTHON_BUILD") and prefixes is None: return known_paths _trace("Processing global site-packages") for sitedir in getsitepackages(prefixes): if os.path.isdir(sitedir): |