1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

Detect bits when building with MinGW

This commit is contained in:
Ignacio Etcheverry
2017-01-10 17:08:31 +01:00
parent 4235abe8dc
commit 460f030b73

View File

@@ -315,7 +315,7 @@ def configure(env):
mingw_prefix = ""
if (env["bits"] == "default"):
env["bits"] = "32"
env["bits"] = "64" if "PROGRAMFILES(X86)" in os.environ else "32"
if (env["bits"] == "32"):
env.Append(LINKFLAGS=['-static'])