]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Support for shred library under Cygwin.
authorBruno Haible <bruno@clisp.org>
Fri, 12 May 2006 15:47:43 +0000 (15:47 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:13:18 +0000 (12:13 +0200)
gettext-tools/lib/ChangeLog
gettext-tools/lib/Makefile.am

index 7278d3233db184903a95a5705e36617746201fce..7e342e28b41cd9f3768ed34b7592a705b0662002 100644 (file)
@@ -1,3 +1,8 @@
+2006-05-11  Bruno Haible  <bruno@clisp.org>
+
+       * Makefile.am (libgettextlib_la_SOURCES, libgettextlib_la_LDFLAGS):
+       Modify for Cygwin.
+
 2006-05-09  Bruno Haible  <bruno@clisp.org>
 
        * xvasprintf.c (xstrcat): Handle overflow. Suggested by Paul Eggert.
index 58767ed11ccfcecb73e7ecf16895d75e757e84b9..424fa926320150c18a6cd22381c73b52470be501 100644 (file)
@@ -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: