How does libtool decide to build a shared library or no开发者_Go百科t?
Chenz
If you use Automake and Autoconf, then Libtool builds both shared and static by default if they are supported on your platform. To build only one kind, call configure
with --disable-static
or --disable-shared
.
From http://www.manpagez.com/man/1/libtool/
Libtool can create either dynamically linked shared libraries, with -dynamic, or statically linked (archive) libraries, with -static.
精彩评论