Commit 8ec582a
committed
GH-138800: fix variable substitution in python3.pc for Android
$(BLDLIBRARY) substitution works in Makefiles where variables are
expanded at the time of execution. This expansion does not happen in
static files like .pc, so use value of BLDLIBRARY instead of trying to
substitute the value.
Patch stolen from downstream distribution of Python for Termux
(Android): termux/termux-packages#27739
Preferably needs to be backported to both Python 3.13 as well as Python
3.14, along with the main branch
Fixes #1388001 parent cf6758f commit 8ec582a
File tree
4 files changed
+4
-3
lines changed- Misc/NEWS.d/next/Build
4 files changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
47 | 46 | | |
48 | 47 | | |
49 | 48 | | |
| |||
285 | 284 | | |
286 | 285 | | |
287 | 286 | | |
| 287 | + | |
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
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 | |
|---|---|---|---|
| |||
6424 | 6424 | | |
6425 | 6425 | | |
6426 | 6426 | | |
6427 | | - | |
| 6427 | + | |
6428 | 6428 | | |
6429 | 6429 | | |
6430 | 6430 | | |
| |||
0 commit comments