From 29b2536521b99d0b5a28abbd4d9e442a9ad3b7ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Fri, 8 Nov 2024 16:43:54 +0100 Subject: [PATCH] Windows: Fix duplicate .exe extension with mingw on Linux/macOS This old hack is no longer needed and now wrong after #98105. Fixes #98967. --- platform/windows/detect.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/platform/windows/detect.py b/platform/windows/detect.py index 43de34b16461..b87146d73cb5 100644 --- a/platform/windows/detect.py +++ b/platform/windows/detect.py @@ -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"])