[Top][All Lists]

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

Re: Building a static library consisting of libraries

From: Stepan Kasal
Subject: Re: Building a static library consisting of libraries
Date: Tue, 13 Jun 2006 07:04:01 +0200
User-agent: Mutt/


On Mon, Jun 12, 2006 at 08:59:07PM +0200, Norbert Sendetzky wrote:
> Let me first ask a question: Are .a libraries (libopendbx.a) static libraries 
> or is that only dependent on the -static flag?

*.a is always a static library, AFAIK.  But that was not the point of
Ralf's answer.

Again, I'm repeating part of Ralf's answer, in case there awas a
misunderstanding: if you start using libtool, it's best to use it for
all libraries, including the static one.  All libtool libraries have
the same extension: *.la.

So please drop the line:

> lib_LIBRARIES = libopendbx.a

because the libtool library should contain both static and dynamic
library inside.  See the libtool manual for details.

Have a nice day,

reply via email to

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