* Bernd Jendrissek wrote on Thu, Nov 27, 2008 at 05:32:08PM CET: > On Thu, Nov 27, 2008 at 4:52 PM, herman bastiaens <[EMAIL PROTECTED]> 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 _______________________________________________ http://lists.gnu.org/mailman/listinfo/libtool