Skip to content

Commit

Permalink
Use msvc toolchain when in Visual Studio env
Browse files Browse the repository at this point in the history
  • Loading branch information
upsuper committed Nov 21, 2016
1 parent dd611ef commit 63ec96a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/servo/command_base.py
Expand Up @@ -107,7 +107,8 @@ def host_triple():
elif os_type == "android":
os_type = "linux-androideabi"
elif os_type == "windows":
if os.getenv("MSYSTEM") is None:
# If we are in a Visual Studio environment, use msvc
if os.getenv("VSInstallDir") is not None:
os_type = "pc-windows-msvc"
else:
os_type = "pc-windows-gnu"
Expand Down

0 comments on commit 63ec96a

Please sign in to comment.