You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Detect bits when building with MinGW
This commit is contained in:
@@ -315,7 +315,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'])
|
||||||
|
|||||||
Reference in New Issue
Block a user