From: Gary V. Vaughan Date: Wed, 20 Dec 2000 22:40:59 +0000 (+0000) Subject: * ltmain.in (dlprefiles): Now that `2000-12-15 Utz-Uwe Haus' patch X-Git-Tag: release-1-3d~34 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=325c26d1a4f7da12aea042e55055a04d9c617074;p=thirdparty%2Flibtool.git * 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. --- diff --git a/ChangeLog b/ChangeLog index b87c0c481..2802e94af 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2000-12-20 Gary V. Vaughan + + * 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 * libtool.m4 (OSF/1): Change the way to pass linker flags through diff --git a/ltmain.in b/ltmain.in index e1d4b2476..e30393cdd 100644 --- 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