scons: set env["PLATFORM"] to "win32" on msys
This commit is contained in:
parent
2bc7cc3e61
commit
d8743f8e6e
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
import os
|
||||
|
||||
def setup_cross_compile(env):
|
||||
if "mingw" in env["host"]:
|
||||
if "mingw" in env["host"] or env["PLATFORM"] == "msys":
|
||||
env["PLATFORM"] = "win32"
|
||||
env["PROGSUFFIX"] = ".exe"
|
||||
env.Tool("mingw")
|
||||
|
|
Loading…
Add table
Reference in a new issue