]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Avoid link error due to xmlFree on mingw and cygwin.
authorBruno Haible <bruno@clisp.org>
Sat, 23 Dec 2006 16:02:48 +0000 (16:02 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:14:34 +0000 (12:14 +0200)
gettext-tools/ChangeLog
gettext-tools/gnulib-lib/Makefile.am

index 1baa887e86cd42341009ae4e49f2590bb8ad52f6..a7c07930317e13d2d2dd1144682c2935f80c84f5 100644 (file)
@@ -1,3 +1,8 @@
+2006-12-23  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-lib/Makefile.am (AM_CPPFLAGS): Define LIBXML_STATIC.
+       Needed for mingw and cygwin.
+
 2006-12-22  Bruno Haible  <bruno@clisp.org>
 
        * woe32dll/c++html-styled-ostream.cc: New file.
index 410c059845cb9a8edc076185520ed0284e6fcb06..df6ce846743a16c332897a7b45aa262fb46f28ea 100644 (file)
@@ -48,6 +48,13 @@ AM_CPPFLAGS += -I$(top_builddir) -I$(top_srcdir)
 # Parametrization of the 'relocatable' module.
 AM_CPPFLAGS += -DDEPENDS_ON_LIBICONV=1 -DDEPENDS_ON_LIBINTL=1
 
+# Parametrization of the 'libxml' module:
+# When building a shared library, don't export the variables
+# xmlMalloc, xmlMallocAtomic, xmlRealloc, xmlFree, xmlMemStrdup.
+if INCLUDED_LIBXML
+AM_CPPFLAGS += -DLIBXML_STATIC
+endif
+
 # Rules generated and collected by gnulib-tool.
 include Makefile.gnulib