Skip to content

Commit

Permalink
always exclude ELF dynamic linker/loader
Browse files Browse the repository at this point in the history
  • Loading branch information
mayeut committed Jan 10, 2020
1 parent 8c507b4 commit bae70a7
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions auditwheel/policy/external_references.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,11 @@ def lddtree_external_references(lddtree: Dict, wheel_path: str):

def filter_libs(libs, whitelist):
for lib in libs:
if 'ld-linux' in lib:
# always exclude ld-linux.so
if 'ld-linux' in lib or lib in ['ld64.so.2', 'ld64.so.1']:
# always exclude ELF dynamic linker/loader
# 'ld64.so.2' on s390x
# 'ld64.so.1' on ppc64le
# 'ld-linux*' on other platforms
continue
if LIBPYTHON_RE.match(lib):
# always exclude libpythonXY
Expand Down

0 comments on commit bae70a7

Please sign in to comment.