
On Mon, Aug 03, 2020 at 11:59:23AM +0200, Ján Tomko wrote:
Some syntax-check rules rely on this variable.
Signed-off-by: Ján Tomko <jtomko@redhat.com> --- build-aux/Makefile.in | 1 + build-aux/meson.build | 1 + 2 files changed, 2 insertions(+)
diff --git a/build-aux/Makefile.in b/build-aux/Makefile.in index 601f1ad7a1..c4caa95467 100644 --- a/build-aux/Makefile.in +++ b/build-aux/Makefile.in @@ -4,6 +4,7 @@ top_srcdir = @top_srcdir@ top_builddir = @top_builddir@ FLAKE8 = @flake8_path@ RUNUTF8 = @runutf8@ +PYTHON = @PYTHON@
# include syntax-check.mk file include $(top_srcdir)/build-aux/syntax-check.mk diff --git a/build-aux/meson.build b/build-aux/meson.build index 1dd85b889b..8432e7bf3a 100644 --- a/build-aux/meson.build +++ b/build-aux/meson.build @@ -8,6 +8,7 @@ if flake8_prog.found() endif syntax_check_conf.set('flake8_path', flake8_path) syntax_check_conf.set('runutf8', ' '.join(runutf8)) +syntax_check_conf.set('PYTHON', python3_prog.path())
I would go with PYTHON3 to make it consistent with how we generate meson-config.h where we use PYTHON3 as well.