From: | Mike Gilbert <floppym@g.o> |
---|---|
To: | gentoo-dev@l.g.o |
Cc: | williamh@g.o, chewi@g.o, Mike Gilbert <floppym@g.o> |
Subject: | [gentoo-dev] [PATCH 1/3] meson.eclass: use python eselect module in _meson_env_array |
Date: | Thu, 17 Dec 2020 21:30:29 |
Message-Id: | 20201217213008.1831469-1-floppym@gentoo.org |
1 | Closes: https://bugs.gentoo.org/759433 |
2 | Signed-off-by: Mike Gilbert <floppym@g.o> |
3 | --- |
4 | eclass/meson.eclass | 3 ++- |
5 | 1 file changed, 2 insertions(+), 1 deletion(-) |
6 | |
7 | diff --git a/eclass/meson.eclass b/eclass/meson.eclass |
8 | index 21338280df33..6296f1dd26e5 100644 |
9 | --- a/eclass/meson.eclass |
10 | +++ b/eclass/meson.eclass |
11 | @@ -126,7 +126,8 @@ EOF |
12 | # '--unicode-16=𐐷', '--unicode-32=𐤅'] |
13 | # |
14 | _meson_env_array() { |
15 | - python -c "${__MESON_ARRAY_PARSER}" "$@" |
16 | + local python="$(eselect python show)" |
17 | + ${python} -c "${__MESON_ARRAY_PARSER}" "$@" |
18 | } |
19 | |
20 | # @FUNCTION: _meson_get_machine_info |
21 | -- |
22 | 2.30.0.rc0 |
Subject | Author |
---|---|
[gentoo-dev] [PATCH 2/3] meson.eclass: make meson_env_array public | Mike Gilbert <floppym@g.o> |
[gentoo-dev] [PATCH 3/3] app-emulation/gallium-nine-standalone: update meson_env_array refereneces | Mike Gilbert <floppym@g.o> |
Re: [gentoo-dev] [PATCH 1/3] meson.eclass: use python eselect module in _meson_env_array | "Michał Górny" <mgorny@g.o> |