From: Bruno Haible Date: Tue, 9 May 2006 18:52:46 +0000 (+0000) Subject: Enable shared libraries on Cygwin. X-Git-Tag: v0.15~178 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e20c2eb728524205d238f16fe60a3e28761ba6d7;p=thirdparty%2Fgettext.git Enable shared libraries on Cygwin. --- diff --git a/gettext-tools/configure.ac b/gettext-tools/configure.ac index 3b7dded00..6d8a834e5 100644 --- a/gettext-tools/configure.ac +++ b/gettext-tools/configure.ac @@ -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])