1 |
The PYTHON variable is used for the wrapper shebangs. These should point |
2 |
to the build system rather than the host system. The variable is also |
3 |
used in other contexts, but the build system is still likely to be most |
4 |
appropriate. If this does break anything, it'll only be for prefixed |
5 |
systems. |
6 |
|
7 |
Signed-off-by: James Le Cuirot <chewi@g.o> |
8 |
--- |
9 |
eclass/python-utils-r1.eclass | 2 +- |
10 |
1 file changed, 1 insertion(+), 1 deletion(-) |
11 |
|
12 |
diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass |
13 |
index 43472bd1fae0..bc397229a670 100644 |
14 |
--- a/eclass/python-utils-r1.eclass |
15 |
+++ b/eclass/python-utils-r1.eclass |
16 |
@@ -332,7 +332,7 @@ _python_export() { |
17 |
debug-print "${FUNCNAME}: EPYTHON = ${EPYTHON}" |
18 |
;; |
19 |
PYTHON) |
20 |
- export PYTHON=${EPREFIX}/usr/bin/${impl} |
21 |
+ export PYTHON=${BROOT-${EPREFIX}}/usr/bin/${impl} |
22 |
debug-print "${FUNCNAME}: PYTHON = ${PYTHON}" |
23 |
;; |
24 |
PYTHON_SITEDIR) |
25 |
-- |
26 |
2.39.1 |