For a static library (.a file), how to list the module-level dependencies of it?
I know for a shared library (.so), we can use objdump or readelf to do
A static library have no such list of dependencies.
A static library is nothing more than an archive of object files. And as object files doesn't know what libraries they depend on, neither can a static library.