From 8902aa93e483810f688a6e3999110adb891bc9c3 Mon Sep 17 00:00:00 2001 From: Robert Bragg Date: Tue, 11 Feb 2020 13:56:00 +0000 Subject: Build: check for VC142 MSVC redist dir --- python/servo/build_commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/servo/build_commands.py') diff --git a/python/servo/build_commands.py b/python/servo/build_commands.py index 2aa70862fd6..e6b2cd6722a 100644 --- a/python/servo/build_commands.py +++ b/python/servo/build_commands.py @@ -972,7 +972,7 @@ def package_msvc_dlls(servo_exe_dir, target, vcinstalldir, vs_version): 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", "VC160"]: + for v in ["VC141", "VC142", "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)) -- cgit v1.2.3