libtool-patches
[Top][All Lists]
Advanced

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

Re: support standalone libltdl [libtool--gary--1.0--patch-23]


From: Ralf Wildenhues
Subject: Re: support standalone libltdl [libtool--gary--1.0--patch-23]
Date: Mon, 22 Aug 2005 22:04:01 +0200
User-agent: Mutt/1.5.9i

Hi Gary,

* Gary V. Vaughan wrote on Mon, Aug 22, 2005 at 09:17:50PM CEST:
> Ralf Wildenhues wrote:
> >Another regression: on GNU/Linux, after bootstrap, configure, make:
> >make[2]: *** No rule to make target `dlopen.la', needed by 
> >`libltdl/libltdl.la'.  Stop.
> 
> I can't reproduce this using either VPATH or in-directory bootstraps
> on either Gentoo-2005.0 or Mac OS 10.4.2.  Are you sure you haven't
> got .deps files from previous bootstraps lying around?

Yep.  I just tried a fresh CVS checkout + your patch.

> I would have expected to see:
> 
> make[2]: *** No rule to make target `libltdl/dlopen.la', needed by 
> `libltdl/libltdl.la'.  Stop.

Well, looking at ltdl.m4, I don't see how this could work:
[ in $top_builddir ]

$ grep DLLOAD Makefile
LT_DLLOADERS =  dlopen.la
noinst_LTLIBRARIES = $(LT_DLLOADERS) $(am__append_1)
libltdl_libltdl_la_DEPENDENCIES = $(LT_DLLOADERS) $(LTLIBOBJS)
$ grep dlopen\\.la Makefile
LT_DLLOADERS =  dlopen.la
LT_DLPREOPEN = -dlpreopen dlopen.la
EXTRA_LTLIBRARIES = libltdl/dlopen.la \
libltdl/dlopen.la: $(libltdl_dlopen_la_OBJECTS) 
$(libltdl_dlopen_la_DEPENDENCIES) libltdl/$(am__dirstamp)

Now, LT_DLLOADERS should be `libltdl/dlopen.la' in the toplevel Makefile
but `dlopen.la' in libltdl/Makefile.  Similarly, LT_DLPREOPEN should
contain `-dlpreopen libltdl/dlopen.la' in the former, and `-dlpreopen
dlopen.la' in the latter.  I don't see any code generating this.  It's
also in no way depending on Automake or Autoconf, so it should not be an
Autotools version issue either.

> Even this recipe (the most contorted example I could concoct) works
> fine on both machines:

What makes me wonder is how you cannot reproduce this.. are both of
those variables empty for you?  If so, why (not having dlopen.la on
GNU/Linux would be a bug)?

Cheers,
Ralf




reply via email to

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