Skip to content

Commit

Permalink
Windows: Fix duplicate .exe extension with mingw on Linux/macOS
Browse files Browse the repository at this point in the history
This old hack is no longer needed and now wrong after godotengine#98105.

Fixes godotengine#98967.
  • Loading branch information
akien-mga authored and jss2a98aj committed Dec 7, 2024
1 parent 5f33fd0 commit b841276
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 @@ -732,9 +732,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 b841276

Please sign in to comment.