Commit 4188ddf8 authored by Daniel Veillard's avatar Daniel Veillard
Browse files

trying to fix windows/configure issues reported by Tim Van Holder Daniel

* configure.in xml2-config.in: trying to fix windows/configure
  issues reported by Tim Van Holder
Daniel
parent 499cc920
Thu Jan 19 09:57:28 CET 2006 Daniel Veillard <daniel@veillard.com>
* configure.in xml2-config.in: trying to fix windows/configure
issues reported by Tim Van Holder
Wed Jan 18 18:21:15 CET 2006 Daniel Veillard <daniel@veillard.com>
 
* HTMLparser.c libxml.h parser.c: try to fix xmlParseInNodeContext
......
......@@ -624,6 +624,17 @@ case ${host} in
hppa*-hp-mpeix)
NEED_TRIO=1
;;
*-*-mingw* | *-*-cygwin* | *-*-msvc* )
# If the host is Windows, and shared libraries are disabled, we
# need to add -DLIBXML_STATIC to CFLAGS in order for linking to
# work properly (without it, xmlexports.h would force the use of
# DLL imports, which obviously aren't present in a static
# library).
if test "x$enable_shared" = "xno"; then
XML_CFLAGS="$XML_CFLAGS -DLIBXML_STATIC"
CFLAGS="$CFLAGS -DLIBXML_STATIC"
fi
;;
esac
......
......@@ -88,7 +88,7 @@ while test $# -gt 0; do
echo @XML_LIBDIR@ @XML_LIBS@
fi
else
echo @XML_LIBDIR@ @XML_LIBS@
echo @XML_LIBDIR@ @XML_LIBS@ @WIN32_EXTRA_LIBADD@
fi
;;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment