aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo
diff options
context:
space:
mode:
authorXidorn Quan <me@upsuper.org>2016-07-11 11:28:45 +1000
committerXidorn Quan <me@upsuper.org>2016-07-11 11:28:45 +1000
commitce2447f921527a26cf3b33c16b0d905bb0a7074c (patch)
tree6d164a12c62257365504a7cbba4631cf3c4356e0 /python/servo
parentcb62b5dd2663f0967900a865f3ae1d1e49d15cf9 (diff)
downloadservo-ce2447f921527a26cf3b33c16b0d905bb0a7074c.tar.gz
servo-ce2447f921527a26cf3b33c16b0d905bb0a7074c.zip
Change to use msvc triple for Windows Python
Diffstat (limited to 'python/servo')
-rw-r--r--python/servo/command_base.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/python/servo/command_base.py b/python/servo/command_base.py
index a814f58fbf9..328d0965b65 100644
--- a/python/servo/command_base.py
+++ b/python/servo/command_base.py
@@ -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"