Browse Source

Windows: Fix duplicate .exe extension with mingw on Linux/macOS

This old hack is no longer needed and now wrong after #98105.

Fixes #98967.
Rémi Verschelde 9 months ago
parent
commit
6d326547da
1 changed files with 0 additions and 3 deletions
  1. 0 3
      platform/windows/detect.py

+ 0 - 3
platform/windows/detect.py

@@ -719,9 +719,6 @@ def configure_mingw(env: "SConsEnvironment"):
 
 
     ## Compiler configuration
     ## Compiler configuration
 
 
-    if os.name != "nt":
-        env["PROGSUFFIX"] = env["PROGSUFFIX"] + ".exe"  # for linux cross-compilation
-
     if env["arch"] == "x86_32":
     if env["arch"] == "x86_32":
         if env["use_static_cpp"]:
         if env["use_static_cpp"]:
             env.Append(LINKFLAGS=["-static"])
             env.Append(LINKFLAGS=["-static"])