diff --git a/ChangeLog b/ChangeLog index 70a4d9f7..05c7bb0e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,15 +1,20 @@ +2004-07-25 Gary V. Vaughan + + * ltmain.in: Make sure that dependency libraries of -dlpreopened + libraries are propogated properly. + 2004-07-23 Joe Orton - * libtool.m4: Treat bsdi5* like bsdi4*. + * libtool.m4: Treat bsdi5* like bsdi4*. 2004-07-22 Peter O'Gorman * ltmain.in [darwin](func_extract_archives): $SED not sed. - + * ltmain.in [darwin](func_extract_archives): Clean up last commit a little, some suggestions are from Albert Chin, those that are broken are mine. - + * libltdl/Makefile.am, libltdl/loaders/Makefile.am: Look for included files in the right places. @@ -29,7 +34,7 @@ 2004-07-18 Peter O'Gorman * libltdl/Makefile.am: Ensure that lt__dirent.h is part of the dist, - also make failed looking for configure.ac, look for + also make failed looking for configure.ac, look for $(top_srcdir)/configure.ac instead. 2004-07-15 Gary V. Vaughan diff --git a/configure.ac b/configure.ac index 73a1b684..c920fe1a 100644 --- a/configure.ac +++ b/configure.ac @@ -24,7 +24,7 @@ AC_PREREQ(2.58) ## We use AS_HELP_STRING ## ------------------------ ## ## Autoconf initialisation. ## ## ------------------------ ## -AC_INIT([libtool], [1.5a], [bug-libtool@gnu.org]) +AC_INIT([libtool], [1.5b], [bug-libtool@gnu.org]) AC_CONFIG_HEADERS([config.h:config-h.in]) AC_CONFIG_SRCDIR([ltmain.in]) AC_CONFIG_AUX_DIR([config]) diff --git a/ltmain.in b/ltmain.in index 88045efb..aedcd4a2 100644 --- a/ltmain.in +++ b/ltmain.in @@ -2232,6 +2232,20 @@ EOF esac fi if test "$linkmode,$pass" = "lib,dlpreopen"; then + # Collect and forward deplibs of preopened libtool libs + for lib in $dlprefiles; do + # Ignore non-libtool-libs + case $lib in + */*.la | *\\*.la) + . $lib + deplibs="$deplibs $dependency_libs" + ;; + *.la) + . ./$lib + deplibs="$deplibs $dependency_libs" + ;; + esac + done libs="$dlprefiles" fi if test "$pass" = dlopen; then