Reputation: 13208
How does libtool decide to build a shared library or not?
Chenz
Upvotes: 2
Views: 1606
Reputation: 57920
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
.
Upvotes: 1
Reputation: 4586
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.
Upvotes: 0