Skip to content

Commit eb8773a

Browse files
committed
Also remove excluded libs from DynamicExecutable.libraries when exclude based on path
1 parent 7993e1d commit eb8773a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/auditwheel/lddtree.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -592,5 +592,5 @@ def ldd(
592592
frozenset(needed - _excluded_libs),
593593
tuple(rpaths),
594594
tuple(runpaths),
595-
_all_libs,
595+
{k: v for k, v in _all_libs.items() if k not in _excluded_libs},
596596
)

0 commit comments

Comments
 (0)