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-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
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