|
From: | Charles Wilson |
Subject: | Re: gettext cvs |
Date: | Fri, 05 May 2006 23:20:03 -0400 |
User-agent: | Thunderbird 1.5.0.2 (Windows/20060308) |
Charles Wilson wrote:
The Patch ----------------(1) autoconfery: hack so that autogen.sh updates libtool. There's no way any sane maintainer would apply this, but I'm including it for completeness. Basically, libtool needs to use -DDLL_EXPORT everywhere
^ for cygwin
mingw does.
^ libtool for
(3) automakery1: gettext-tools/[lib|src]/Makefile.am, gettext-tools libgrep/Makefile.am, and gettext-tools/test/Makefile,am: add -DBUILDING_LIBGETTEXT[LIB|SRC] to libgettext[lib|src]_la_CFLAGS. Change conditional from MINGW to WOE32GCC. If conditional WOE32GCC true, add
^_SHLIBS
'-DDLL_EXPORT -D_DLL' to all per-executable *_CPPFLAGS.
Because (a) libtool doesn't do this for us, and (b) we're using DLL_EXPORT here to indicate NOT that we're building a DLL, but that the headers for the DLLs we're linking against need to do declspec(dllimport) for us. There's an extended commentary about this in the patch to gettext-tools/configure.ac.
-- Chuck
[Prev in Thread] | Current Thread | [Next in Thread] |