diff options
author | Christoph Reiter <reiter.christoph@gmail.com> | 2018-07-19 09:15:30 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2018-07-27 18:10:13 +0300 |
commit | 6b9fdfe67b88f37310e7455997ef2664bf88e58f (patch) | |
tree | c0c59ba7ae8c92eb92f2e10bd65c044cea592f2b /mesonbuild/modules/gnome.py | |
parent | 941d2c273ae8f43f9346480e095a7ebaadb76295 (diff) | |
download | meson-6b9fdfe67b88f37310e7455997ef2664bf88e58f.zip meson-6b9fdfe67b88f37310e7455997ef2664bf88e58f.tar.gz meson-6b9fdfe67b88f37310e7455997ef2664bf88e58f.tar.bz2 |
python.find_installation: only try to find python with the py launcher if it isn't in PATH
Meson tries to find the interpreter path through the "py" launcher on Windows in all
cases which breaks if meson is run under MSYS2 and an official CPython is installed as well.
MSYS2 Python doesn't install a py launcher which results in meson finding the system one instead
even though python2/python3 is in PATH.
Always check if the interpreter name is in PATH before falling back to checking the py launcher.
Diffstat (limited to 'mesonbuild/modules/gnome.py')
0 files changed, 0 insertions, 0 deletions