scons: set env["PLATFORM"] to "win32" on msys

This commit is contained in:
loonycyborg 2018-06-01 21:29:43 +03:00
parent 2bc7cc3e61
commit d8743f8e6e

View file

@ -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")