mirror of
https://github.com/servo/servo.git
synced 2025-06-20 07:08:59 +01:00
Use msvc toolchain when in Visual Studio env
This commit is contained in:
parent
dd611ef310
commit
63ec96a57d
1 changed files with 2 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue