manpagez: man pages & more
info libtool
Home | html | info | man
[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

5.6 Static-only libraries

When you are developing a package, it is often worthwhile to configure your package with the ‘--disable-shared’ flag, or to override the defaults for LT_INIT by using the disable-shared option (see section The LT_INIT macro). This prevents libtool from building shared libraries, which has several advantages:

You may want to put a small note in your package ‘README’ to let other developers know that ‘--disable-shared’ can save them time. The following example note is taken from the GIMP(7) distribution ‘README’:

The GIMP uses GNU Libtool in order to build shared libraries on a
variety of systems.  While this is very nice for making usable
binaries, it can be a pain when trying to debug a program.  For that
reason, compilation of shared libraries can be turned off by
specifying the ‘--disable-shared’ option to ‘configure’.

[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

This document was generated on December 1, 2011 using texi2html 5.0.

© manpagez.com 2000-2024
Individual documents may contain additional copyright information.