We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d084813 commit 003423fCopy full SHA for 003423f
src/auditwheel/lddtree.py
@@ -510,13 +510,13 @@ def ldd(
510
if _first:
511
# get the libc based on dependencies
512
for soname in needed:
513
- if soname.startswith("libc.musl-"):
+ if soname.startswith(("libc.musl-", "ld-musl-")):
514
if libc is None:
515
libc = Libc.MUSL
516
if libc != Libc.MUSL:
517
msg = f"found a dependency on MUSL but the libc is already set to {libc}"
518
raise InvalidLibc(msg)
519
- elif soname == "libc.so.6":
+ elif soname == "libc.so.6" or soname.startswith(("ld-linux-", "ld64.so.")):
520
521
libc = Libc.GLIBC
522
if libc != Libc.GLIBC:
0 commit comments