Change to use msvc triple for Windows Python

This commit is contained in:
Xidorn Quan 2016-07-11 11:28:45 +10:00
parent cb62b5dd26
commit ce2447f921

View file

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