Getting the DLL name from a mingw32-compiled lib/a file

Posted by epsy on Stack Overflow See other posts from Stack Overflow or by epsy
Published on 2010-03-21T19:27:00Z Indexed on 2010/03/21 19:31 UTC
Read the original article Hit count: 280

Filed under:
|
|
|
|

Hi,

I am changing our build system in order to handle cross-compiling and packaging.

It is a common thing to ship dependencies' DLLs but CMake's FindXXX modules(./configure checks) don't provide the path to these DLLs but only to .a files. I quickly looked inside the .a libs and they all seem to contain the DLL's name.

What would be a proper way of extracting them from the .a file on a Linux build machine?

© Stack Overflow or respective owner

Related posts about cross-compiling

Related posts about .a