1 --- setuptools-65.3.0/setuptools/_distutils/sysconfig.py.orig 2022-08-31 15:40:59.444208654 +0200
2 +++ setuptools-65.3.0/setuptools/_distutils/sysconfig.py 2022-08-31 15:42:02.547200129 +0200
3 @@ -237,13 +237,13 @@ def get_python_lib(plat_specific=0, stan
4 prefix = plat_specific and EXEC_PREFIX or PREFIX
7 - if plat_specific or standard_lib:
8 + if plat_specific or standard_lib or prefix != "/usr":
9 # Platform-specific modules (any module from a non-pure-Python
10 # module distribution) or standard Python library modules.
11 libdir = getattr(sys, "platlibdir", "lib")
16 implementation = 'pypy' if IS_PYPY else 'python'
17 libpython = os.path.join(prefix, libdir, implementation + get_python_version())
18 return _posix_lib(standard_lib, libpython, early_prefix, prefix)