mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-20 20:16:46 +00:00
scons: set env["PLATFORM"] to "win32" on msys
This commit is contained in:
parent
2bc7cc3e61
commit
d8743f8e6e
|
@ -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…
Reference in New Issue
Block a user