]> 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:40:59 +0000 (22:40 +0000)
committerGary V. Vaughan <gary@gnu.org>
Wed, 20 Dec 2000 22:40:59 +0000 (22:40 +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 b87c0c4818e7adb4b2e634957d2adf6cbb84d66c..2802e94af00a06f4b4b1e19c42719b92983785fd 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>
 
        * libtool.m4 (OSF/1): Change  the way to pass linker flags through
index e1d4b2476209f9cd12378ddb1e0b943b445e75a7..e30393cdd440ab13f0112bedced2d58e4855e4d9 100644 (file)
--- a/ltmain.in
+++ b/ltmain.in
@@ -1587,9 +1587,11 @@ compiler."
            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