mirror of
https://gitlab.gnome.org/GNOME/libxml2
synced 2025-03-28 21:33:13 +00:00
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
This commit is contained in:
parent
499cc9204f
commit
4188ddf811
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
11
configure.in
11
configure.in
@ -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
|
||||
;;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user