diff options
author | Kagami Sascha Rosylight <saschanaz@outlook.com> | 2019-06-30 19:12:47 +0900 |
---|---|---|
committer | Kagami Sascha Rosylight <saschanaz@outlook.com> | 2019-06-30 19:12:47 +0900 |
commit | 8cd436c89292d23eab1ba81061e2bfd45dcd4eff (patch) | |
tree | 9cd7e9ba2659060a99badaee9f6f9bf2eef4b454 /python/servo/build_commands.py | |
parent | 489ff5e9322f363a9d7621829b865fefd56108e1 (diff) | |
download | servo-8cd436c89292d23eab1ba81061e2bfd45dcd4eff.tar.gz servo-8cd436c89292d23eab1ba81061e2bfd45dcd4eff.zip |
Support VS Build Tools 2019
Diffstat (limited to 'python/servo/build_commands.py')
-rw-r--r-- | python/servo/build_commands.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/servo/build_commands.py b/python/servo/build_commands.py index 582da195356..2010bfbce9b 100644 --- a/python/servo/build_commands.py +++ b/python/servo/build_commands.py @@ -803,12 +803,12 @@ def package_msvc_dlls(servo_exe_dir, target): is_vs14 = True if os.path.isfile(vs14_vcvars) or vs_version == "14.0" else False if is_vs14: msvc_redist_dir = path.join(vc_dir, "redist", vs_platform, "Microsoft.VC140.CRT") - elif vs_version == "15.0": + elif vs_version in ("15.0", "16.0"): redist_dir = path.join(vc_dir, "Redist", "MSVC") if os.path.isdir(redist_dir): for p in os.listdir(redist_dir)[::-1]: redist_path = path.join(redist_dir, p) - for v in ["VC141", "VC150"]: + for v in ["VC141", "VC150", "VC160"]: # there are two possible paths # `x64\Microsoft.VC*.CRT` or `onecore\x64\Microsoft.VC*.CRT` redist1 = path.join(redist_path, vs_platform, "Microsoft.{}.CRT".format(v)) |