1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-22 17:34:18 +03:00

build-aux: set the PYTHON variable in the Makefile

Some syntax-check rules rely on this variable.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
Ján Tomko 2020-08-03 11:45:44 +02:00
parent 406a474fb6
commit 5c01b41763
2 changed files with 2 additions and 0 deletions

View 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

View 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',