1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-22 15:06:45 +00:00

Detect bits when building with MinGW

(cherry picked from commit 460f030b73)
This commit is contained in:
Ignacio Etcheverry
2017-01-10 17:08:31 +01:00
committed by Rémi Verschelde
parent 93a83c81f0
commit 8a5596322d

View File

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