]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
default is to allow undefined symbols in libraries
authorGary V. Vaughan <gary@gnu.org>
Thu, 7 Jan 1999 16:13:02 +0000 (16:13 +0000)
committerGary V. Vaughan <gary@gnu.org>
Thu, 7 Jan 1999 16:13:02 +0000 (16:13 +0000)
ChangeLog
ltmain.in

index 91635d3a1069fe171305efca484353d48a26dd78..da494b12bb558d91fa5d42e832e71fa813e6c536 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+1999-01-07  Gary V. Vaughan  <gvaughan@oranda.demon.co.uk>
+
+       * ltmain.sh (cygwin, allow_undefined): Unfortunately, there are
+       problems with the above when trying to make a dll which has
+       undefined symbols, in which case not even a static library is
+       built.  For now, we need to specify -no-undefined on the libtool
+       link line when we can be certain that all symbols are satisfied,
+       otherwise we get a static library.
+
 1999-01-06  Thomas Tanner  <tanner@gmx.de>
 
        * ChangeLog: merged in tests/ChangeLog
index dc50566b5749bc61f8f69a3c37af38057ade3901..978afd779ceab59b31a8fc87a8a248af338e1aa0 100644 (file)
--- a/ltmain.in
+++ b/ltmain.in
@@ -568,7 +568,14 @@ compiler."
       # we shouldn't force the makefile maintainer to figure out
       # which system we are compiling for in order to pass an extra
       # flag for every libtool invokation.
-      allow_undefined=no
+      # allow_undefined=no
+
+      # FIXME: Unfortunately, there are problems with the above when trying
+      # to make a dll which has undefined symbols, in which case not
+      # even a static library is built.  For now, we need to specify
+      # -no-undefined on the libtool link line when we can be certain
+      # that all symbols are satisfied, otherwise we get a static library.
+      allow_undefined=yes
 
       # This is a source program that is used to create dlls on Windows
       # Don't remove nor modify the starting and closing comments