help-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: automake / libtool question - static libs


From: Ralf Wildenhues
Subject: Re: automake / libtool question - static libs
Date: Thu, 12 Apr 2007 20:58:19 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]