A quick look says that in ltdl.c, presym_open() if you get there with a call
to lt_dlopen(0), filename is null, so
if (!filename)
{
filename = "@PROGRAM@";
}
then later:
if (!syms->address && strcmp(syms->name, filename) == 0)
as address==0, we look for syms->name == "@PROGRAM@", but name is things like
"libfoo2_LTX_nothing" or "libsub.a".. Unless the problem is that @PROGRAM@
should get substituted? (All I did was run mdemo.static with no arguments)
(BTW I just came across ltdl.c:1783 LT_DLFREE (canonical), canonical=6(!) )
I suppose the main question is: Is it just me?
Cheers,
Patrick
_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool