Subject: Re: bug#12613: Subordinate libltdl builds convenience library when it should build shared library

From: "Gary V. Vaughan" <[email-masked]>
Date: Wed, 10 Oct 2012 10:29:48 +0700

Hi Bob,

What revision of Libtool?

On Oct 10, 2012, at 9:31 AM, Bob Friesenhahn <[email-masked]> wrote:
> Ltdl is configured like
> 
> LTDL_INIT([convenience nonrecursive])
             ^^^^^^^^^^^

> I noticed that all of the libltdl objects are being included into my library at link time and that libltdl symbols are being included my library's .exp exports file.  This is in spite of requesting that the libltdl library be built and installed.

It seems that specifying a convenience library in configure.ac takes precedence over specifying an installable (i.e. not-convenience) on the command line.  I can't find any documentation to confirm or deny that... when we've decided the precedence, we need to document it.

Does it work the way you expect if you remove the convenience declaration from the LTDL_INIT invocation?

Cheers,
-- 
Gary V. Vaughan (gary AT gnu DOT org)