This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
RE: Building .so files only.
- From: "Schleicher Ralph (LLI)" <ralph dot schleicher at lli dot liebherr dot com>
- To: "Stephen Torri" <storri at sbcglobal dot net>
- Cc: libtool at gnu dot org, Automake <automake at gnu dot org>
- Date: Thu, 28 Aug 2003 08:08:36 +0200
- Subject: RE: Building .so files only.
Stephen Torri writes:
> So by patching my libtool I should be able to put the -shared flag in my
> AM_LDFLAGS for the Makefile.am and only get the shared.so file right?
Yes, but it makes sense adding it to CFLAGS, too.
> ! If the @samp{-static} option is given, then only a @samp{.o} file is
> ! built, even if libtool was configured with @samp{--disable-static}.
>
> This sounds logically confusing. What is the point of --disable-static
> if -static overrides it?
The -static option is for package maintainers, --disable-static is for
users. The former reads "I really absolutely need a static-only library"
whereas the later reads "I'm not interested in static libraries if I can
avoid it". Please read Sander Niemeijer's comments in the same thread
<http://mail.gnu.org/archive/html/libtool/2003-08/msg00008.html>, for
more details.
--
Ralph