mirror of
https://github.com/servo/servo.git
synced 2025-07-04 22:13:40 +01:00
Add support for Visual Studio 2017
This commit is contained in:
parent
e6a89899b0
commit
9b35fd9472
2 changed files with 20 additions and 4 deletions
|
@ -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":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue