From: Alexandre Oliva Date: Thu, 29 Apr 1999 09:58:41 +0000 (+0000) Subject: * doc/libtool.texi (Distributing libltdl): Document that -static X-Git-Tag: release-1-3~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f14da046942831c8a1f80f2938eebe02ba5e95eb;p=thirdparty%2Flibtool.git * doc/libtool.texi (Distributing libltdl): Document that -static may cause the same problems on libltdl as -all-static. * TODO: We might want to fix this in the future. --- diff --git a/ChangeLog b/ChangeLog index 414dd578c..5df52b272 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 1999-04-29 Alexandre Oliva + * doc/libtool.texi (Distributing libltdl): Document that -static + may cause the same problems on libltdl as -all-static. + * TODO: We might want to fix this in the future. + * doc/libtool.texi: Clear up overfull hbox. * libltdl/Makefile.am (ltdl.lo): Add dependencies. diff --git a/TODO b/TODO index 92c37cad1..0942c7982 100644 --- a/TODO +++ b/TODO @@ -93,6 +93,13 @@ and also a .a out of .o objects. The .al would only be used to create shared libraries, whereas the .a would be used for creating static libraries and programs. +* Try to find a work-around for -[all-]static and libltdl on platforms +that will fail to find dlopening functions in this case, such as AIX +4.3.2.0. Maybe creating an alternate libltdl that provides only for +dlpreopening, or creating an additional static library to provide +dummy implementations of the functions that can't be linked +statically. This could hardly be made completely transparent, though. + * Need to finalize the documentation, and give a specification of `.la' files so that people can depend on their format. This also needs to be done so that DLD uses a public interface to libtool diff --git a/doc/libtool.texi b/doc/libtool.texi index 15bb07b79..b5e8fa56f 100644 --- a/doc/libtool.texi +++ b/doc/libtool.texi @@ -3053,9 +3053,9 @@ You should probably also add @samp{AC_LIBTOOL_DLOPEN} to your libtool will assume no dlopening mechanism is supported, and revert to dlpreopening, which is probably not what you want. -Avoid using the @code{-all-static} switch when linking programs with -libltdl; this will not work on all plaforms, because the dlopening -functions may not be available for static linking. +Avoid using the @code{-static} or @code{-all-static} switches when +linking programs with libltdl. This will not work on all plaforms, +because the dlopening functions may not be available for static linking. The following example shows you how to embed the convenience libltdl in your package. In order to use the installable variant just replace