开发者

How does libtool decide to build a shared library or not?

开发者 https://www.devze.com 2022-12-10 01:54 出处:网络
How does libtool decide to build a shared library or no开发者_Go百科t? ChenzIf you use Automake and Autoconf, then Libtool builds both shared and static by default if they are supported on your platf

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号