Use python3 instead of python.

`python` binary is not installed on all platform.
But `python3` is (because meson is python3).
And the script we launch is python3 so use the correct version.
This commit is contained in:
Matthieu Gautier 2020-05-04 10:52:11 +02:00
parent 1842e8f51c
commit e32fa28a6c
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
resource_files = run_command(find_program('python'), resource_files = run_command(find_program('python3'),
'-c', '-c',
'import sys; f=open(sys.argv[1]); print(f.read())', 'import sys; f=open(sys.argv[1]); print(f.read())',
files('resources_list.txt') files('resources_list.txt')