]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* doc/libtool.texi (Distributing libltdl): Document that -static
authorAlexandre Oliva <oliva@dcc.unicamp.br>
Thu, 29 Apr 1999 09:58:41 +0000 (09:58 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Thu, 29 Apr 1999 09:58:41 +0000 (09:58 +0000)
may cause the same problems on libltdl as -all-static.
* TODO: We might want to fix this in the future.

ChangeLog
TODO
doc/libtool.texi

index 414dd578ca3a10a72c6d452ece509e4e23a25989..5df52b272f3f4468c602179291df92bb5376924e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 1999-04-29  Alexandre Oliva  <oliva@dcc.unicamp.br>
 
+       * 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 92c37cad1de42a1fde0b9da048ec183fbcdbb43e..0942c79821fc51ae116168b46bd95ded4a3914a2 100644 (file)
--- 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
index 15bb07b7977407a0411bdbbcb35beb2ed035d7ca..b5e8fa56ffaab5bdc2652a2bba453207ff8569eb 100644 (file)
@@ -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