>>> "Philip" == Philip Willoughby <[EMAIL PROTECTED]> writes:
Philip> I have: Philip> lib_LTLIBRARIES=libaptttest.la Philip> libaptttest_la_SOURCES=aptt/test/test.c Philip> libaptttest_la_LIBADD=libapttlog.la @LTLIBINTL@ Philip> pkglib_LTLIBRARIES=libapttlog.la Philip> libapttlog_la_SOURCES=aptt/log/log.c Philip> libapttlog_la_LIBADD=@LIBLTDL@ Philip> in a Makefile.am. Unfortunately, automake does not recognise that Philip> libapttlog.la must be installed prior to the installation of Philip> libaptttest.la. Philip> Is there a way to hint to automake that the order is Philip> important without moving to recursive make? Maybe you could try using the same dir-prefix for both libraries. Something like nobase_lib_LTLIBRARIES = yourpkg/libapttlog.la libaptttest.la libaptttest_la_SOURCES = aptt/test/test.c libaptttest_la_LIBADD = libapttlog.la @LTLIBINTL@ yourpkg_libapttlog_la_SOURCES = aptt/log/log.c yourpkg_libapttlog_la_LIBADD = @LIBLTDL@ then libraries should be installed in the order they appear in nobase_lib_LTLIBRARIES. Philip> Alternatively, does anyone have a patch to Philip> automagically do the right thing? Right now this seems hard. I've submitted this as PR/376, so we don't forget about it eventually. Fortunatelly it's more frequent that dependent libraries get installed in the same directory. -- Alexandre Duret-Lutz