libtool

What are libtool's .la file for?

大兔子大兔子 提交于 2019-11-26 17:53:31
问题 What are libtool's .la files for? How are they used with a shared object? 回答1: It is a textual file that includes a description of the library. It allows libtool to create platform-independent names. For example, libfoo goes to: Under Linux: /lib/libfoo.so # Symlink to shared object /lib/libfoo.so.1 # Symlink to shared object /lib/libfoo.so.1.0.1 # Shared object /lib/libfoo.a # Static library /lib/libfoo.la # 'libtool' library Under Cygwin: /lib/libfoo.dll.a # Import library /lib/libfoo.a #