Skip to content

Commit e65a237

Browse files
authored
Merge pull request #98968 from akien-mga/windows-fix-double-extension-mingw
Windows: Fix duplicate .exe extension with mingw on Linux/macOS
2 parents 36e6207 + 6d32654 commit e65a237

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

platform/windows/detect.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -719,9 +719,6 @@ def configure_mingw(env: "SConsEnvironment"):
719719

720720
## Compiler configuration
721721

722-
if os.name != "nt":
723-
env["PROGSUFFIX"] = env["PROGSUFFIX"] + ".exe" # for linux cross-compilation
724-
725722
if env["arch"] == "x86_32":
726723
if env["use_static_cpp"]:
727724
env.Append(LINKFLAGS=["-static"])

0 commit comments

Comments
 (0)