From: Bruno Haible Date: Tue, 9 May 2006 18:43:42 +0000 (+0000) Subject: Enable shared libraries on Cygwin. X-Git-Tag: v0.15~179 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b35d15ff4ac949aec64677ce64ba3c46f47950c9;p=thirdparty%2Fgettext.git Enable shared libraries on Cygwin. --- diff --git a/gettext-runtime/libasprintf/ChangeLog b/gettext-runtime/libasprintf/ChangeLog index a16e58ffa..e78eb80d2 100644 --- a/gettext-runtime/libasprintf/ChangeLog +++ b/gettext-runtime/libasprintf/ChangeLog @@ -1,3 +1,8 @@ +2006-05-02 Charles Wilson + + * configure.ac (LTNOUNDEF): Set to -no-undefined also on mingw and + Cygwin. + 2006-04-17 Bruno Haible * Makefile.am: Use $(mkdir_p) instead of $(mkinstalldirs). diff --git a/gettext-runtime/libasprintf/configure.ac b/gettext-runtime/libasprintf/configure.ac index b536bfe4e..b000014c7 100644 --- a/gettext-runtime/libasprintf/configure.ac +++ b/gettext-runtime/libasprintf/configure.ac @@ -1,5 +1,5 @@ dnl Configuration for the GNU libasprintf library -dnl Copyright (C) 2002-2005 Free Software Foundation, Inc. +dnl Copyright (C) 2002-2006 Free Software Foundation, Inc. dnl dnl This program is free software; you can redistribute it and/or modify dnl it under the terms of the GNU General Public License as published by @@ -41,7 +41,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]) diff --git a/gettext-tools/ChangeLog b/gettext-tools/ChangeLog index 4b208b88a..74398f204 100644 --- a/gettext-tools/ChangeLog +++ b/gettext-tools/ChangeLog @@ -1,3 +1,8 @@ +2006-05-02 Charles Wilson + + * configure.ac (LTNOUNDEF): Set to -no-undefined also on mingw and + Cygwin. + 2006-05-08 Bruno Haible * Makefile.am (windows/stdbool.h): Create directory if needed.