diff --git a/tools/configure.py b/tools/configure.py index b1416e0f..10265334 100644 --- a/tools/configure.py +++ b/tools/configure.py @@ -82,7 +82,7 @@ CC_INCLUDES = " ".join(f"-i {include}" for include in includes) EXE = "" WINE = "" system = platform.system() -if system == "Windows" or system.startswith("MSYS") or system.startswith("MINGW"): +if system == "Windows": system = "windows" EXE = ".exe" elif system == "Linux": diff --git a/tools/setup.py b/tools/setup.py index 44d146f7..87f64099 100644 --- a/tools/setup.py +++ b/tools/setup.py @@ -13,7 +13,7 @@ root_path = tools_path.parent EXE = "" system = platform.system() -if system == "Windows" or system.startswith("MSYS") or system.startswith("MINGW"): +if system == "Windows": system = "windows" EXE = ".exe" elif system == "Linux":