From: Bruno Haible Date: Fri, 12 May 2006 15:47:43 +0000 (+0000) Subject: Support for shred library under Cygwin. X-Git-Tag: v0.15~149 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a961a9044aed2843e4921458206054efe57893bf;p=thirdparty%2Fgettext.git Support for shred library under Cygwin. --- diff --git a/gettext-tools/lib/ChangeLog b/gettext-tools/lib/ChangeLog index 7278d3233..7e342e28b 100644 --- a/gettext-tools/lib/ChangeLog +++ b/gettext-tools/lib/ChangeLog @@ -1,3 +1,8 @@ +2006-05-11 Bruno Haible + + * Makefile.am (libgettextlib_la_SOURCES, libgettextlib_la_LDFLAGS): + Modify for Cygwin. + 2006-05-09 Bruno Haible * xvasprintf.c (xstrcat): Handle overflow. Suggested by Paul Eggert. diff --git a/gettext-tools/lib/Makefile.am b/gettext-tools/lib/Makefile.am index 58767ed11..424fa9263 100644 --- a/gettext-tools/lib/Makefile.am +++ b/gettext-tools/lib/Makefile.am @@ -128,6 +128,12 @@ libgettextlib_la_LDFLAGS = \ -release @VERSION@ \ @LTLIBINTL@ @LTLIBICONV@ -lc @LTNOUNDEF@ +# Tell the Cygwin linker which symbols to export. +if CYGWINDLL +libgettextlib_la_SOURCES += ../cygwin/gettextlib-exports.c +libgettextlib_la_LDFLAGS += -Wl,--export-all-symbols +endif + # No need to install libgettextlib.a, except on AIX. install-exec-local: install-libLTLIBRARIES install-exec-clean install-exec-clean: