Re: automake / libtool question - static libs

Ralf Wildenhues <[email protected]>
Newsgroups gmane.comp.gnu.utils
Organization Department of Numerical Simulation, University of Bonn
Message-ID <[email protected]>
Hello flopbucket,

* flopbucket wrote on Thu, Apr 12, 2007 at 05:49:12PM CEST:
> 
> I am using automake/autoconf/libtool and it works fine generating
> shared libs, etc.  However, I need to make static libs now and I can't
> see how to tell libtool to do so.  I know I can pass -static but I am
> not using libtool directly, I am using it via automake.

Try 
  lib_LTLIBRARIES = libfoo.la
  libfoo_la_LDFLAGS = -static

Cheers,
Ralf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.