mirror of
https://github.com/godotengine/godot.git
synced 2025-02-17 22:43:01 +08: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:
parent
36e6207bb4
commit
6d326547da
@ -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"])
|
||||
|
Loading…
Reference in New Issue
Block a user