moz.configure: add fix for VS2017 x64 ATLMFC lib path detection

This commit is contained in:
2023-06-26 10:37:28 +08:00
parent f191eae652
commit 661754041c
+4 -2
View File
@@ -334,8 +334,10 @@ def lib_path(target, vc_path, windows_sdk_dir, ucrt_sdk_dir, dia_sdk_dir):
atlmfc_dir = os.path.join(vc_path, 'atlmfc', 'lib', *vc_target)
if not os.path.isdir(atlmfc_dir):
die('Cannot find the ATL/MFC libraries in the Visual C++ directory (%s). '
'Please install them.' % vc_path)
atlmfc_dir = atlmfc_dir.replace('amd64','x64')
if not os.path.isdir(atlmfc_dir):
die('Cannot find the ATL/MFC libraries in the Visual C++ directory (%s). '
'Please install them.' % vc_path)
libs = []