Suggest mingw Python URL instead of specific package names
Suggested by @lazka in order to be clearer when delineating between mingw-w64-x86_64-python and mingw-w64-ucrt-x86_64-python. Fixes: #12772
This commit is contained in:
parent
f5ec07e7c3
commit
03ffb5bd6f
|
@ -257,7 +257,7 @@ def run(original_args: T.List[str], mainfile: str) -> int:
|
||||||
# https://github.com/mesonbuild/meson/issues/3653
|
# https://github.com/mesonbuild/meson/issues/3653
|
||||||
if sys.platform == 'cygwin' and os.environ.get('MSYSTEM', '') not in ['MSYS', '']:
|
if sys.platform == 'cygwin' and os.environ.get('MSYSTEM', '') not in ['MSYS', '']:
|
||||||
mlog.error('This python3 seems to be msys/python on MSYS2 Windows, but you are in a MinGW environment')
|
mlog.error('This python3 seems to be msys/python on MSYS2 Windows, but you are in a MinGW environment')
|
||||||
mlog.error('Please install and use mingw-w64-x86_64-python3 and/or mingw-w64-x86_64-meson with Pacman')
|
mlog.error('Please install it via https://packages.msys2.org/base/mingw-w64-python')
|
||||||
return 2
|
return 2
|
||||||
|
|
||||||
args = original_args[:]
|
args = original_args[:]
|
||||||
|
|
Loading…
Reference in New Issue