1
0
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:
Rémi Verschelde
2024-11-08 16:43:54 +01:00
parent 36e6207bb4
commit 6d326547da

View File

@@ -719,9 +719,6 @@ def configure_mingw(env: "SConsEnvironment"):
## Compiler configuration
if os.name != "nt":
env["PROGSUFFIX"] = env["PROGSUFFIX"] + ".exe" # for linux cross-compilation
if env["arch"] == "x86_32":
if env["use_static_cpp"]:
env.Append(LINKFLAGS=["-static"])