aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/modules/qt.py
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2019-03-18 19:30:43 +0100
committerJussi Pakkanen <jpakkane@gmail.com>2019-03-20 20:37:36 +0200
commit0078d808a2a2b01c634483ca4a986f52ffe1ce3c (patch)
tree8760dc22541dec61511b10fe8398725c0276b957 /mesonbuild/modules/qt.py
parentf46b485fc2bee49c5fed763106136218bf0f82dc (diff)
downloadmeson-0078d808a2a2b01c634483ca4a986f52ffe1ce3c.zip
meson-0078d808a2a2b01c634483ca4a986f52ffe1ce3c.tar.gz
meson-0078d808a2a2b01c634483ca4a986f52ffe1ce3c.tar.bz2
find_program: use Meson's Python3 for non-executable Python scripts
Whenever a non-executable Python script is found by find_program, currently Haiku and Windows replace a python3 from the shebang line with the one that was used by Meson. Extend this behavior to POSIX systems so that it is easy to test a program with multiple Python versions. Currently this is particularly important for generators, because they don't allow files in the arguments and thus you cannot do something like g = generator(pymod.find_installation(), ..., arguments: [files('myscript.py'), ...]) With this patch, instead, you can just do g = generator(find_program('myscript.py'), ...)
Diffstat (limited to 'mesonbuild/modules/qt.py')
0 files changed, 0 insertions, 0 deletions