]> 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 b95e9e3eccaa8c1329a63b42fa2d932a2b75cb1d..8e7bd9b8dcdb094cddea53a93f11b5482df84677 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 d8268064a5366c573326313fd3ac66c427a66fa8..f25e2e0f967fb66b26081cf0025fd0ca1c1819d8 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 b1b802aebf5ec0a09f94a3d78b685c5a68167e7a..9e49d4d3f55f905dc44ec2fcfbb47183f7e0f786 100644 (file)
@@ -3066,9 +3066,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