Commit 7ca9e3f
fix(toolchain): Also set Make variables for local toolchains (#3641)
Currently, the toolchain only sets the make variables if it's an
in-build toolchain.
This breaks for platform toolchains.
To fix, check for platform toolchains and set the make vars
appropriately.
This helps fix the BCR rules for `@glib`, which recently added a
requirement that
the Make variable `$(PYTHON3)` must always be defined by the current
Python toolchain.
Co-authored-by: Richard Levasseur <richardlev@gmail.com>1 parent 67ec8d5 commit 7ca9e3f
2 files changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
66 | 67 | | |
67 | | - | |
| 68 | + | |
| 69 | + | |
68 | 70 | | |
69 | 71 | | |
70 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
31 | 34 | | |
32 | 35 | | |
33 | 36 | | |
34 | 37 | | |
35 | 38 | | |
36 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
37 | 43 | | |
38 | 44 | | |
39 | 45 | | |
| |||
0 commit comments