]> git.pld-linux.org Git - packages/python3-setuptools.git/blob - multilib.patch
e843f6559579decc1cbe5bfea9d1c230a5ec83b9
[packages/python3-setuptools.git] / multilib.patch
1 --- setuptools-62.0.0/setuptools/_distutils/sysconfig.py.orig   2022-04-26 23:24:21.684034857 +0200
2 +++ setuptools-62.0.0/setuptools/_distutils/sysconfig.py        2022-04-26 23:24:40.750464254 +0200
3 @@ -170,13 +170,13 @@
4              prefix = plat_specific and EXEC_PREFIX or PREFIX
5  
6      if os.name == "posix":
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")
12          else:
13              # Pure Python
14 -            libdir = "lib"
15 +            libdir = "share"
16          implementation = 'pypy' if IS_PYPY else 'python'
17          libpython = os.path.join(prefix, libdir,
18                                   implementation + get_python_version())
This page took 0.424739 seconds and 3 git commands to generate.