]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
build-aux: set the PYTHON variable in the Makefile
authorJán Tomko <jtomko@redhat.com>
Mon, 3 Aug 2020 09:45:44 +0000 (11:45 +0200)
committerJán Tomko <jtomko@redhat.com>
Mon, 3 Aug 2020 11:54:15 +0000 (13:54 +0200)
Some syntax-check rules rely on this variable.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
build-aux/Makefile.in
build-aux/meson.build

index 601f1ad7a19ca2981f4339b577c02a1a2f6dcdea..0424ff39fc176bc2382ea1f0ceced2f3cdb95186 100644 (file)
@@ -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
index 1dd85b889b9dfaaeea7ac7fdd60b9a3d6f7f52fc..c506feefd2119c989caaabf70fae741bb770baca 100644 (file)
@@ -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',