]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltmain.in (dlprefiles): Now that `2000-12-15 Utz-Uwe Haus' patch
authorGary V. Vaughan <gary@gnu.org>
Wed, 20 Dec 2000 22:57:53 +0000 (22:57 +0000)
committerGary V. Vaughan <gary@gnu.org>
Wed, 20 Dec 2000 22:57:53 +0000 (22:57 +0000)
below can detect preopened library deplibs correctly in libltdl,
we need to ensure that libtool library deplibs are also preloaded
into the binary for that phase to work.

ChangeLog
ltmain.in

index d59a4a8df09007148564289f35e2d18b514f7520..44d6cdb697d94af122dd096c38766c15f646096d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2000-12-20  Gary V. Vaughan  <gvv@techie.com>
+
+       * ltmain.in (dlprefiles): Now that `2000-12-15 Utz-Uwe Haus' patch
+       below can detect preopened library deplibs correctly in libltdl,
+       we need to ensure that libtool library deplibs are also preloaded
+       into the binary for that phase to work.
+
 2000-12-16  Aneesh Kumar K.V  <kvaneesh@hotmail.com>
 
        * ltcf-c.sh (OSF/1): Change  the way to pass linker flags through
index 0ba71b6107c59b8be291b6f07858f1ebe527a337..a2cd9b216824fa2929d14aba90880bfaaf0bdc7b 100644 (file)
--- a/ltmain.in
+++ b/ltmain.in
@@ -1777,9 +1777,11 @@ EOF
            exit 1
          fi
          if test -z "$dlname" || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
-           # If there is no dlname, no dlopen support or we're linking statically,
-           # we need to preload.
-           dlprefiles="$dlprefiles $lib"
+           # If there is no dlname, no dlopen support or we're linking
+           # statically, we need to preload.  We also need to preload any
+           # dependent libraries so libltdl's deplib preloader doesn't
+           # bomb out in the load deplibs phase.
+           dlprefiles="$dlprefiles $lib $dependency_libs"
          else
            newdlfiles="$newdlfiles $lib"
          fi