Merge pull request #98968 from akien-mga/windows-fix-double-extension-mingw
Some checks failed
🔗 GHA / 📊 Static checks (push) Has been cancelled
🔗 GHA / 🤖 Android (push) Has been cancelled
🔗 GHA / 🍏 iOS (push) Has been cancelled
🔗 GHA / 🐧 Linux (push) Has been cancelled
🔗 GHA / 🍎 macOS (push) Has been cancelled
🔗 GHA / 🏁 Windows (push) Has been cancelled
🔗 GHA / 🌐 Web (push) Has been cancelled
🔗 GHA / 🪲 Godot CPP (push) Has been cancelled

Windows: Fix duplicate .exe extension with mingw on Linux/macOS
This commit is contained in:
HP van Braam 2024-11-08 16:49:25 +01:00 committed by GitHub
commit e65a23762b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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