Skip to content

Commit

Permalink
Support excluding path
Browse files Browse the repository at this point in the history
  • Loading branch information
oraluben committed Jan 6, 2025
1 parent 7d50cf2 commit 2ceddc6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/auditwheel/lddtree.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,9 @@ def lddtree(
+ ldpaths["interp"]
)
realpath, fullpath = find_lib(elf, lib, all_ldpaths, root)
if any(fnmatch(realpath, e) for e in exclude):
log.info("Excluding %s", realpath)
continue
_all_libs[lib] = {
"realpath": realpath,
"path": fullpath,
Expand Down

0 comments on commit 2ceddc6

Please sign in to comment.