Merge pull request #98968 from akien-mga/windows-fix-double-extension-mingw
Windows: Fix duplicate .exe extension with mingw on Linux/macOS
This commit is contained in:
commit
e65a23762b
1 changed files with 0 additions and 3 deletions
|
|
@ -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"])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue