You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Buildsystem: Windows cross-compilation on Linux defaults to 64-bit
This commit is contained in:
@@ -226,10 +226,13 @@ def configure(env):
|
|||||||
else:
|
else:
|
||||||
env["PROGSUFFIX"] = env["PROGSUFFIX"] + ".exe" # for linux cross-compilation
|
env["PROGSUFFIX"] = env["PROGSUFFIX"] + ".exe" # for linux cross-compilation
|
||||||
|
|
||||||
mingw_prefix = ""
|
|
||||||
|
|
||||||
if (env["bits"] == "default"):
|
if (env["bits"] == "default"):
|
||||||
env["bits"] = "64" if "PROGRAMFILES(X86)" in os.environ else "32"
|
if (os.name == "nt"):
|
||||||
|
env["bits"] = "64" if "PROGRAMFILES(X86)" in os.environ else "32"
|
||||||
|
else: # default to 64-bit on Linux
|
||||||
|
env["bits"] = "64"
|
||||||
|
|
||||||
|
mingw_prefix = ""
|
||||||
|
|
||||||
if (env["bits"] == "32"):
|
if (env["bits"] == "32"):
|
||||||
env.Append(LINKFLAGS=['-static'])
|
env.Append(LINKFLAGS=['-static'])
|
||||||
|
|||||||
Reference in New Issue
Block a user