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
No known key found for this signature in database
GPG Key ID: C3336907360768E1

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"])