Selaa lähdekoodia

Merge pull request #98968 from akien-mga/windows-fix-double-extension-mingw

Windows: Fix duplicate .exe extension with mingw on Linux/macOS
HP van Braam 11 kuukautta sitten
vanhempi
commit
e65a23762b
1 muutettua tiedostoa jossa 0 lisäystä ja 3 poistoa
  1. 0 3
      platform/windows/detect.py

+ 0 - 3
platform/windows/detect.py

@@ -719,9 +719,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"])