Now we use python for os_type, we need to catch 'windows' as well as 'mingw65_nt- fixes #9597'

This commit is contained in:
Jason Williams 2016-02-13 22:42:28 +00:00
parent 2fd8cbccdd
commit cf2e0c0f4c

View file

@ -41,7 +41,7 @@ def host_triple():
os_type = "apple-darwin"
elif os_type == "android":
os_type = "linux-androideabi"
elif os_type.startswith("mingw64_nt-"):
elif os_type == "windows" or os_type.startswith("mingw64_nt-"):
os_type = "pc-windows-gnu"
else:
os_type = "unknown"