Get list of static libraries used in an executable

后端 未结 5 1184
借酒劲吻你
借酒劲吻你 2020-12-07 13:44

Since ldd lists only the dynamic libraries, is there a way to extract the information about the static libraries used to create the executable?

5条回答
  •  余生分开走
    2020-12-07 14:09

    Unless a given compiler stores some sort of meta data inside the binary then, no. A static library is code that is directly compiled into the binary.

提交回复
热议问题