summaryrefslogtreecommitdiffstats
path: root/platform/windows/detect.py
diff options
context:
space:
mode:
authorHP van Braam <hp@tmm.cx>2024-11-08 16:49:25 +0100
committerGitHub <noreply@github.com>2024-11-08 16:49:25 +0100
commite65a23762b36b564eb94672031f37fdadba72333 (patch)
tree6eec0928c0618e938b466e6a8c87d716e844ac3e /platform/windows/detect.py
parent36e6207bb48fafd43b98a458d0c461ad982b4e68 (diff)
parent6d326547daa4339b1cd88913cd6efd1e9a32eef8 (diff)
downloadredot-engine-e65a23762b36b564eb94672031f37fdadba72333.tar.gz
Merge pull request #98968 from akien-mga/windows-fix-double-extension-mingw
Windows: Fix duplicate .exe extension with mingw on Linux/macOS
Diffstat (limited to 'platform/windows/detect.py')
-rw-r--r--platform/windows/detect.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/platform/windows/detect.py b/platform/windows/detect.py
index 88975300b0..e1109db24f 100644
--- a/platform/windows/detect.py
+++ b/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"])