aboutsummaryrefslogtreecommitdiff
path: root/test cases
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2022-04-01 11:42:27 +0200
committerXavier Claessens <xclaesse@gmail.com>2022-04-01 13:15:33 -0400
commit26903d7b12cde17581d4d5ec00d52edee8644965 (patch)
tree7872586dd1c69e141a13e5a34e7b65975a042585 /test cases
parentcc8e67ce59c3b0274bc9f10cb287d5254aa74166 (diff)
downloadmeson-26903d7b12cde17581d4d5ec00d52edee8644965.zip
meson-26903d7b12cde17581d4d5ec00d52edee8644965.tar.gz
meson-26903d7b12cde17581d4d5ec00d52edee8644965.tar.bz2
main: Make the msys/python check work again, in some cases
msys/python in MSYS2 pretends to be cygwin in all cases for some time now, so this check was impossible to hit. The underlying confusion it tried to prevent is still there, namely trying to build with mingw but wrongly using a msys/cygwin python/meson. We can use the MSYSTEM env var to detect if we are in a mingw shell, and in case the Python doesn't match we suggest installing mingw variants of both python and meson. Using msys/python + meson in a MSYS environment works fine on the other hand, so no need to error out in that case. Fixes #8726 Also addresses the concern raised in https://github.com/mesonbuild/meson/issues/3653#issuecomment-474122564
Diffstat (limited to 'test cases')
0 files changed, 0 insertions, 0 deletions