Skip to content

Commit

Permalink
Merge pull request #98968 from akien-mga/windows-fix-double-extension…
Browse files Browse the repository at this point in the history
…-mingw

Windows: Fix duplicate .exe extension with mingw on Linux/macOS
  • Loading branch information
hpvb authored Nov 8, 2024
2 parents 36e6207 + 6d32654 commit e65a237
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions platform/windows/detect.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"])
Expand Down

0 comments on commit e65a237

Please sign in to comment.