[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: stop libtool from compiling everything twice
From: |
Ralf Wildenhues |
Subject: |
Re: stop libtool from compiling everything twice |
Date: |
Thu, 27 Nov 2008 19:34:11 +0100 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
* Bernd Jendrissek wrote on Thu, Nov 27, 2008 at 05:32:08PM CET:
> On Thu, Nov 27, 2008 at 4:52 PM, herman bastiaens <address@hidden> wrote:
> > is there a way to stop libtool from compiling everything twice? I am
> > compiling a convenience library, so I add the -static and -prefer-non-pic
> > flag, but it's still compiling my file twice. The command looks like this:
>
> I usually build everything with --disable-static; that seems to cause
> libtool to compile files only once. I don't know if this works for
> convenience libraries specifically, or if they'd still get compiled
> both ways.
Should work for convenience archives just fine, and is a good idea if
static linking is not needed.
If you need both static and shared elsewhere, you can also try
libconv_la_LIBTOOLFLAGS = --tag=disable-static
Cheers,
Ralf