aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/util.py
diff options
context:
space:
mode:
authorUK992 <urbankrajnc92@gmail.com>2017-04-08 13:14:25 +0200
committerUK992 <urbankrajnc92@gmail.com>2017-04-11 23:31:22 +0200
commit9b35fd9472923c669a33ae51808068f63cb4db83 (patch)
tree4a8608788021b9c8df60e4685c18d63245531b3f /python/servo/util.py
parente6a89899b0bf3e24e7f119e59a4e933bf967bb8d (diff)
downloadservo-9b35fd9472923c669a33ae51808068f63cb4db83.tar.gz
servo-9b35fd9472923c669a33ae51808068f63cb4db83.zip
Add support for Visual Studio 2017
Diffstat (limited to 'python/servo/util.py')
-rw-r--r--python/servo/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/servo/util.py b/python/servo/util.py
index 77fba165446..4df128419ae 100644
--- a/python/servo/util.py
+++ b/python/servo/util.py
@@ -50,7 +50,7 @@ def host_triple():
cpu_type = platform.machine().lower()
if os_type.endswith("-msvc"):
# vcvars*.bat should set it properly
- platform_env = os.environ.get("PLATFORM")
+ platform_env = os.environ.get("PLATFORM").upper()
if platform_env == "X86":
cpu_type = "i686"
elif platform_env == "X64":