You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Merge pull request #104744 from Repiteo/scons/ensure-mingw-fallback
SCons: Ensure MinGW as fallback if missing MSVC
This commit is contained in:
@@ -148,7 +148,9 @@ def detect_build_env_arch():
|
||||
|
||||
|
||||
def get_tools(env: "SConsEnvironment"):
|
||||
if os.name != "nt" or env.get("use_mingw"):
|
||||
from SCons.Tool.MSCommon import msvc_exists
|
||||
|
||||
if os.name != "nt" or env.get("use_mingw") or not msvc_exists():
|
||||
return ["mingw"]
|
||||
else:
|
||||
msvc_arch_aliases = {"x86_32": "x86", "arm32": "arm"}
|
||||
|
||||
Reference in New Issue
Block a user