Skip to content

Commit

Permalink
Fix some bugs in fix_vendor_libs
Browse files Browse the repository at this point in the history
  • Loading branch information
olsen232 committed Dec 13, 2024
1 parent d62775d commit 3ddfc9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vcpkg-vendor/fix_vendor_libs.py
Original file line number Diff line number Diff line change
Expand Up @@ -728,7 +728,7 @@ def get_pattern_for_dep(dep):

def lib_names_match(dep1, dep2):
base1, ext1 = split_lib_ext(Path(dep1).name)
base2, ext2 = split_lib_ext(Path(dep1).name)
base2, ext2 = split_lib_ext(Path(dep2).name)
return ext1 == ext2 and base1.startswith(base2) or base2.startswith(base1)


Expand Down Expand Up @@ -835,7 +835,7 @@ def exe_and_lib_paths():
deps_by_result[ALLOWED_SYSTEM_DEP],
deps_by_result[UNEXPECTED_SYSTEM_DEP],
)
count = len(deps_by_result[ALLOWED_SYSTEM_DEP])
count = len(deps_by_result[UNEXPECTED_SYSTEM_DEP])
L.error(
f"{ERR} Checking deps: Found %s system deps that have not been explicitly allowed.\n%s",
count,
Expand Down

0 comments on commit 3ddfc9e

Please sign in to comment.