libtool-patches
[Top][All Lists]
Advanced

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

Re: MinGW & library_names


From: Peter O'Gorman
Subject: Re: MinGW & library_names
Date: Thu, 30 Sep 2004 13:39:02 +0900
User-agent: Mozilla Thunderbird 0.7.3 (Macintosh/20040803)

Bob Friesenhahn wrote:

On Thu, 30 Sep 2004, Peter O'Gorman wrote:


Isn't this what the dlname variable is for in the .la. Is the dlname being set incorrectly or not at all? Or is it being used incorrectly?

From looking at the code ltdl first tries to open the old_library, then if that fails it tries the dlname, you'd like it to stop opening old_library I guess? The problem seems to be that it tries to open old_library using all the available loaders, imo it should only be trying the preopen loader.


Maybe I have not read enough code.

In the .la file, the entries are similar to

dlname='tiff.dll'
library_names='tiff.dll.a'
old_library='tiff.a'
dependency_libs='-L/bla /bla/bla/libGraphicsMagick.la ... -lgdi32 ... -lm ...

[snip]


So it is clear that libltdl attempts to load essentially anything that looks like a library from the .la file.

Well, yeah, if lt_cv_sys_dlopen_deplibs is not yes then it will try and load every library in dependency_libs, I don't suppose that LoadLibrary() loads dependency libs?

Peter
--
Peter O'Gorman - http://www.pogma.com




reply via email to

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