Skip to content

Commit 29b2536

Browse files
akien-mgajss2a98aj
authored andcommitted
Windows: Fix duplicate .exe extension with mingw on Linux/macOS
This old hack is no longer needed and now wrong after godotengine#98105. Fixes godotengine#98967.
1 parent d335252 commit 29b2536

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

platform/windows/detect.py

-3
Original file line numberDiff line numberDiff line change
@@ -732,9 +732,6 @@ def configure_mingw(env: "SConsEnvironment"):
732732

733733
## Compiler configuration
734734

735-
if os.name != "nt":
736-
env["PROGSUFFIX"] = env["PROGSUFFIX"] + ".exe" # for linux cross-compilation
737-
738735
if env["arch"] == "x86_32":
739736
if env["use_static_cpp"]:
740737
env.Append(LINKFLAGS=["-static"])

0 commit comments

Comments
 (0)