Hi,

On Mon, Jul 16, 2012 at 07:45:03PM +0300, Alon Bar-Lev wrote:
> > (3) I want to build "compat" as a static library. How can I do that?
> >
> > I've tried adding the following arguments after "./configure":
> >
> > --enable-static --disable-shared
[..]
> 
> You don't need the above... just add LDFLAGS="-static", I guess.

Should libcompat.* ever be built dynamically?  I just checked on Linux
and FreeBSD, and our configure/make only builds libcompat.a (hidden
in src/libcompat/.libs/).

To make sure I'm not getting misunderstood: I think a static library is
the right way to go here, so I'm surprised about the question from
Jonathan.

> > *** Warning: Linking the shared library libcompat.la against the

... OTOH, libcompat.la is not really a shared library here, just a 
ld config file pointing to the static libcompat.a, so maybe this is
just a warning that can be safely ignored.

gert 

-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             g...@greenie.muc.de
fax: +49-89-35655025                        g...@net.informatik.tu-muenchen.de

Attachment: pgpwNzAGP2zWH.pgp
Description: PGP signature

Reply via email to