Commit 7f497c3
authored
* GH-108819: fix LIBDEST not honoring --with-platlibdir
We look for the pure-Python part of the standard library in
PLATSTDLIBDIR, which may not match the default LIBDIR subdir.
From ``getpath.py``:
```python
...
STDLIB_SUBDIR = f'{platlibdir}/python{VERSION_MAJOR}.{VERSION_MINOR}{ABI_THREAD}'
STDLIB_LANDMARKS = [f'{STDLIB_SUBDIR}/os.py', f'{STDLIB_SUBDIR}/os.pyc']
PLATSTDLIB_LANDMARK = f'{platlibdir}/python{VERSION_MAJOR}.{VERSION_MINOR}{ABI_THREAD}/lib-dynload'
...
```
Signed-off-by: Filipe Laíns <lains@riseup.net>
* Add news
Signed-off-by: Filipe Laíns <lains@riseup.net>
* Always set LIBDEST and BINLIBDEST based on PLATLIBDIR
Signed-off-by: Filipe Laíns <lains@riseup.net>
* Add XXX comment on PLATLIBDIR default value
Signed-off-by: Filipe Laíns <lains@riseup.net>
* Regen configure
Signed-off-by: Filipe Laíns <lains@riseup.net>
---------
Signed-off-by: Filipe Laíns <lains@riseup.net>
1 parent b5576d8 commit 7f497c3
File tree
4 files changed
+20
-20
lines changed- Misc/NEWS.d/next/Build
4 files changed
+20
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
169 | | - | |
| 169 | + | |
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6420 | 6420 | | |
6421 | 6421 | | |
6422 | 6422 | | |
6423 | | - | |
6424 | | - | |
6425 | | - | |
6426 | | - | |
6427 | | - | |
6428 | 6423 | | |
6429 | 6424 | | |
6430 | 6425 | | |
6431 | | - | |
| 6426 | + | |
6432 | 6427 | | |
6433 | 6428 | | |
6434 | 6429 | | |
| |||
6445 | 6440 | | |
6446 | 6441 | | |
6447 | 6442 | | |
6448 | | - | |
6449 | 6443 | | |
6450 | 6444 | | |
6451 | 6445 | | |
6452 | 6446 | | |
6453 | 6447 | | |
| 6448 | + | |
| 6449 | + | |
| 6450 | + | |
| 6451 | + | |
6454 | 6452 | | |
6455 | 6453 | | |
6456 | 6454 | | |
6457 | 6455 | | |
6458 | | - | |
| 6456 | + | |
6459 | 6457 | | |
6460 | | - | |
| 6458 | + | |
6461 | 6459 | | |
6462 | 6460 | | |
6463 | 6461 | | |
| |||
0 commit comments