]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Enable shared libraries on Cygwin.
authorBruno Haible <bruno@clisp.org>
Tue, 9 May 2006 18:52:46 +0000 (18:52 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:13:15 +0000 (12:13 +0200)
gettext-tools/configure.ac

index 3b7dded009d5e1e1dd82a4ac4271bc64e56ad826..6d8a834e58f9d6b5354d73d633462e3bd6a90217 100644 (file)
@@ -97,7 +97,9 @@ gl_WOE32_DLL
 AC_LIBTOOL_WIN32_DLL
 AC_PROG_LIBTOOL
 case "$host_os" in
-  beos*) LTNOUNDEF='-no-undefined' ;;
+  # On Cygwin, without -no-undefined, a warning is emitted and only a static
+  # library is built.
+  beos* | mingw* | cygwin*) LTNOUNDEF='-no-undefined' ;;
   *) LTNOUNDEF='' ;;
 esac
 AC_SUBST([LTNOUNDEF])