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 c97eb19 commit 20a249aCopy full SHA for 20a249a
src/auditwheel/lddtree.py
@@ -13,6 +13,7 @@
13
14
from __future__ import annotations
15
16
+from collections import OrderedDict
17
import errno
18
import functools
19
import glob
@@ -441,7 +442,7 @@ def ldd(
441
442
"""
443
_first = _all_libs is None
444
if _all_libs is None:
- _all_libs = {}
445
+ _all_libs = OrderedDict()
446
447
log.debug("ldd(%s)", path)
448
@@ -554,7 +555,7 @@ def ldd(
554
555
+ ldpaths["interp"]
556
)
557
_excluded_libs: set[str] = set()
- for soname in needed:
558
+ for soname in sorted(needed):
559
if soname in _all_libs:
560
continue
561
if soname in _excluded_libs:
0 commit comments