From: Ján Tomko Date: Mon, 3 Aug 2020 09:45:44 +0000 (+0200) Subject: build-aux: set the PYTHON variable in the Makefile X-Git-Tag: v6.7.0-rc1~238 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c01b4176374195d20636898d58ce0abf8e68bd6;p=thirdparty%2Flibvirt.git build-aux: set the PYTHON variable in the Makefile Some syntax-check rules rely on this variable. Signed-off-by: Ján Tomko Reviewed-by: Pavel Hrdina --- diff --git a/build-aux/Makefile.in b/build-aux/Makefile.in index 601f1ad7a1..0424ff39fc 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 = @PYTHON3@ # 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..c506feefd2 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('PYTHON3', python3_prog.path()) configure_file( input: 'Makefile.in',