sodepends: fix listing binaries, check libdepends, libprovides
1 unresolved thread
1 unresolved thread
Compare changes
Files
2+ 65
− 13
@@ -35,41 +35,43 @@ from elftools.elf.dynamic import DynamicSection
@@ -77,9 +79,13 @@ def finddepends(liblist):
@@ -108,9 +114,16 @@ def finddepends(liblist):
@@ -133,8 +146,12 @@ class SharedLibsRule(TarballRule):
@@ -151,16 +168,20 @@ class SharedLibsRule(TarballRule):
@@ -173,6 +194,37 @@ class SharedLibsRule(TarballRule):
This code is looking a little like LISP, and since the same deeply tested construction is use 5 times here it seems like a local function might have been in order, but my Python foo isn't up to suggesting something robust and idiomatic. If nothing comes to mind based on this suggestion feel free to dismiss...