may cause the same problems on libltdl as -all-static.
* TODO: We might want to fix this in the future.
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.
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
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