You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Windows: Fix duplicate .exe extension with mingw on Linux/macOS
This old hack is no longer needed and now wrong after #98105. Fixes #98967.
This commit is contained in:
@@ -719,9 +719,6 @@ def configure_mingw(env: "SConsEnvironment"):
|
|||||||
|
|
||||||
## Compiler configuration
|
## Compiler configuration
|
||||||
|
|
||||||
if os.name != "nt":
|
|
||||||
env["PROGSUFFIX"] = env["PROGSUFFIX"] + ".exe" # for linux cross-compilation
|
|
||||||
|
|
||||||
if env["arch"] == "x86_32":
|
if env["arch"] == "x86_32":
|
||||||
if env["use_static_cpp"]:
|
if env["use_static_cpp"]:
|
||||||
env.Append(LINKFLAGS=["-static"])
|
env.Append(LINKFLAGS=["-static"])
|
||||||
|
|||||||
Reference in New Issue
Block a user