[Top][All Lists]

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

Re: FYI: libtool--devo--1.0--patch-90

From: Gary V. Vaughan
Subject: Re: FYI: libtool--devo--1.0--patch-90
Date: Thu, 29 Jul 2004 13:34:02 +0100
User-agent: Mozilla Thunderbird 0.7 (X11/20040615)

Hi Peter!

Peter O'Gorman wrote:
>> The mdemo-inst.test, mdemo-dryrun.test, & mdemo-inst.test tests, are
>> failing now under FreeBSD 5.0, but all tests were passing several days
>> ago.
> I had a look, but a decent solution escapes me. Gary's "obvious bug fix"
> here has the (presumably intended) effeect of adding to
> and's dependency_libs.

No, that shouldn't happen.   From libltdl/

libltdlc_la_LIBADD      =  $(libdlloader_la_OBJECTS) $(libdlloader_la_LIBADD)

So, libltdlc.a contains copies of the libdlloader objects, plus any LTLIBOBJS
for the host (e.g. the argz objects on darwin).

But you're right in that says:

-ldl   '


> I have no idea why it was
> passing all tests before on darwin and FreeBSD, perhaps we need to add a
> test that specifically uses libdlloader functionality (whatever that is,
> haven't looked). However, now it is there and when mdemo on darwin comes
> to build with --disable-shared, it builds all static libs in mdemo, but
> libltdl is already built, it is already built with shared libs, so there
> is a that has shared libraries. libtool sees them and
> uses them. Properly so, in my opinion.

Nup, libltdlc is self contained for this reason.  All tests pass on my Panther
10.3.4 box though.  I'll see if I can figure out how to prevent libdlloader
being added to

> If --disable-shared always preferred static libs regardless of their
> location (i.e. acted like the -static flag) then we'd be fine too. But
> that is not the intent of --disable-shared.


> Anyone got any ideas?

Give me a minute, I'll see if I can fix it.

Gary V. Vaughan      ())_.  address@hidden,}
Research Scientist   ( '/
GNU Hacker           / )=
Technical Author   `(_~)_

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

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