bug-libtool
[Top][All Lists]
Advanced

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

Re: shared lib requires main ?!


From: Ralf Wildenhues
Subject: Re: shared lib requires main ?!
Date: Sun, 2 Nov 2008 16:50:54 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

Hello Gabriel,

please keep the list in Cc:, thanks.

* salsaman wrote on Sun, Nov 02, 2008 at 04:20:18PM CET:
> This is off-topic for the bug, but please can you give me one more tip if
> possible; the local libraries are created as e.g.
> libfoo.la
> 
> Depending on the particular build directory, I would like the real libs to
> be just:
> foo
> 
> or
> 
> foo.wo
> 
> Using automake, do you know if this is possible ?

With libraries named libfoo.la, there will be a libfoo.so after
installation.  If you want to avoid the 'lib' prefix: that is only
portable for modules, but not for libraries (and libtool strongly
encourages portable naming).  Modules are denoted with the -module
link flag, so you'd use something like
  pkglib_LTLIBRARIES = foo.la
  foo_la_LDFLAGS = -module

and most often, -avoid-version is used for modules, too.

Hope that helps.

Cheers,
Ralf





reply via email to

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