Skip to content

Commit

Permalink
Suggest mingw Python URL instead of specific package names
Browse files Browse the repository at this point in the history
Suggested by @lazka in order to be clearer when delineating between
mingw-w64-x86_64-python and mingw-w64-ucrt-x86_64-python.

Fixes: mesonbuild#12772
  • Loading branch information
tristan957 committed Apr 25, 2024
1 parent a2ac3bc commit 35e9a90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mesonbuild/mesonmain.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ def run(original_args: T.List[str], mainfile: str) -> int:
# https://github.com/mesonbuild/meson/issues/3653
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('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

args = original_args[:]
Expand Down

0 comments on commit 35e9a90

Please sign in to comment.