On Wed, Nov 10, 2004 at 01:17:19AM +0100, Alexandre Duret-Lutz wrote: > - the relinking dependency debacle: > > For libtool to relink libraries when installing them, all > dependencies must have been installed. However automake cannot > pre-compute this installation order when it is run, and > computing it at compile-time look overly complicated and error > prone. Instead, would it make sense to support a two-stage
The core problem appears to be that an Automake-generated Makefile.in uses dependencies when building installable products but then installs them in destination_PRIMARY batches without observing the dependencies it already knows. Indeed, if Automake did not know the dependency graph of each object, it could not build them reliably. If Automake generated an install target for installable product, just as it generated a build target, would that not solve this problem? Like so: -- Makefile.am lib_LTLIBRARIES = foo.la bar.la foo_la_LIBADD = bar.la -- Makefile.in foo.la: bar.la $(LIBTOOL) ... install-foo.la: install-bar.la $(INSTALL) ... install-bar.la: $(INSTALL) ... _______________________________________________ Libtool mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/libtool