Skip to content

Commit ef6febb

Browse files
committed
Fix build_distrib.py tool on Windows (#403)
1 parent 9f3ba13 commit ef6febb

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

tools/build_distrib.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -593,15 +593,18 @@ def check_cpp_extension_dependencies_issue359(setup_dir, all_pythons):
593593
for python in all_pythons:
594594
if python["version2"] in ((3, 5), (3, 6), (3, 7)):
595595
checked_any = True
596-
if not os.path.exists(os.path.join(setup_dir, "msvcp140.dll")):
596+
if not os.path.exists(os.path.join(setup_dir, "cefpython3",
597+
"msvcp140.dll")):
597598
raise Exception("C++ ext dependency missing: msvcp140.dll")
598599
elif python["version2"] == (3, 4):
599600
checked_any = True
600-
if not os.path.exists(os.path.join(setup_dir, "msvcp100.dll")):
601+
if not os.path.exists(os.path.join(setup_dir, "cefpython3",
602+
"msvcp100.dll")):
601603
raise Exception("C++ ext dependency missing: msvcp100.dll")
602604
elif python["version2"] == (2, 7):
603-
if not os.path.exists(os.path.join(setup_dir, "msvcp90.dll")):
604-
raise Exception("C++ ext dependency missing: msvcp100.dll")
605+
if not os.path.exists(os.path.join(setup_dir, "cefpython3",
606+
"msvcp90.dll")):
607+
raise Exception("C++ ext dependency missing: msvcp90.dll")
605608
checked_any = True
606609
assert checked_any
607610

0 commit comments

Comments
 (0)