This repository has been archived by the owner on Jan 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
55 changed files
with
10 additions
and
251 deletions.
There are no files selected for viewing
0
include/libxml/DOCBparser.h → include/libxml2/libxml/DOCBparser.h
100755 → 100644
File renamed without changes.
0
include/libxml/HTMLparser.h → include/libxml2/libxml/HTMLparser.h
100755 → 100644
File renamed without changes.
0
include/libxml/HTMLtree.h → include/libxml2/libxml/HTMLtree.h
100755 → 100644
File renamed without changes.
0
include/libxml/SAX.h → include/libxml2/libxml/SAX.h
100755 → 100644
File renamed without changes.
0
include/libxml/SAX2.h → include/libxml2/libxml/SAX2.h
100755 → 100644
File renamed without changes.
0
include/libxml/c14n.h → include/libxml2/libxml/c14n.h
100755 → 100644
File renamed without changes.
0
include/libxml/catalog.h → include/libxml2/libxml/catalog.h
100755 → 100644
File renamed without changes.
0
include/libxml/chvalid.h → include/libxml2/libxml/chvalid.h
100755 → 100644
File renamed without changes.
0
include/libxml/debugXML.h → include/libxml2/libxml/debugXML.h
100755 → 100644
File renamed without changes.
0
include/libxml/dict.h → include/libxml2/libxml/dict.h
100755 → 100644
File renamed without changes.
0
include/libxml/encoding.h → include/libxml2/libxml/encoding.h
100755 → 100644
File renamed without changes.
0
include/libxml/entities.h → include/libxml2/libxml/entities.h
100755 → 100644
File renamed without changes.
0
include/libxml/globals.h → include/libxml2/libxml/globals.h
100755 → 100644
File renamed without changes.
0
include/libxml/hash.h → include/libxml2/libxml/hash.h
100755 → 100644
File renamed without changes.
0
include/libxml/list.h → include/libxml2/libxml/list.h
100755 → 100644
File renamed without changes.
0
include/libxml/nanoftp.h → include/libxml2/libxml/nanoftp.h
100755 → 100644
File renamed without changes.
0
include/libxml/nanohttp.h → include/libxml2/libxml/nanohttp.h
100755 → 100644
File renamed without changes.
0
include/libxml/parser.h → include/libxml2/libxml/parser.h
100755 → 100644
File renamed without changes.
File renamed without changes.
0
include/libxml/pattern.h → include/libxml2/libxml/pattern.h
100755 → 100644
File renamed without changes.
0
include/libxml/relaxng.h → include/libxml2/libxml/relaxng.h
100755 → 100644
File renamed without changes.
File renamed without changes.
0
include/libxml/schematron.h → include/libxml2/libxml/schematron.h
100755 → 100644
File renamed without changes.
0
include/libxml/threads.h → include/libxml2/libxml/threads.h
100755 → 100644
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0
include/libxml/uri.h → include/libxml2/libxml/uri.h
100755 → 100644
File renamed without changes.
0
include/libxml/valid.h → include/libxml2/libxml/valid.h
100755 → 100644
File renamed without changes.
0
include/libxml/xinclude.h → include/libxml2/libxml/xinclude.h
100755 → 100644
File renamed without changes.
0
include/libxml/xlink.h → include/libxml2/libxml/xlink.h
100755 → 100644
File renamed without changes.
0
include/libxml/xmlIO.h → include/libxml2/libxml/xmlIO.h
100755 → 100644
File renamed without changes.
0
include/libxml/xmlautomata.h → include/libxml2/libxml/xmlautomata.h
100755 → 100644
File renamed without changes.
0
include/libxml/xmlerror.h → include/libxml2/libxml/xmlerror.h
100755 → 100644
File renamed without changes.
0
include/libxml/xmlexports.h → include/libxml2/libxml/xmlexports.h
100755 → 100644
File renamed without changes.
0
include/libxml/xmlmemory.h → include/libxml2/libxml/xmlmemory.h
100755 → 100644
File renamed without changes.
0
include/libxml/xmlmodule.h → include/libxml2/libxml/xmlmodule.h
100755 → 100644
File renamed without changes.
0
include/libxml/xmlreader.h → include/libxml2/libxml/xmlreader.h
100755 → 100644
File renamed without changes.
0
include/libxml/xmlregexp.h → include/libxml2/libxml/xmlregexp.h
100755 → 100644
File renamed without changes.
0
include/libxml/xmlsave.h → include/libxml2/libxml/xmlsave.h
100755 → 100644
File renamed without changes.
0
include/libxml/xmlschemas.h → include/libxml2/libxml/xmlschemas.h
100755 → 100644
File renamed without changes.
File renamed without changes.
0
include/libxml/xmlstring.h → include/libxml2/libxml/xmlstring.h
100755 → 100644
File renamed without changes.
0
include/libxml/xmlunicode.h → include/libxml2/libxml/xmlunicode.h
100755 → 100644
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0
include/libxml/xmlwriter.h → include/libxml2/libxml/xmlwriter.h
100755 → 100644
File renamed without changes.
0
include/libxml/xpath.h → include/libxml2/libxml/xpath.h
100755 → 100644
File renamed without changes.
File renamed without changes.
0
include/libxml/xpointer.h → include/libxml2/libxml/xpointer.h
100755 → 100644
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,2 @@ | ||
Both versions were compiled with msys and gcc 4.6.3 from Rtools 3.1. | ||
Simply extract libxml2 dir and use: | ||
|
||
```bash | ||
CFLAGS="-m32" ./configure | ||
make | ||
``` | ||
|
||
Or for x64: | ||
|
||
```bash | ||
CFLAGS="-m64" ./configure | ||
make | ||
``` | ||
|
||
**Important:** Some versions of mingw give this error when linking the static library: | ||
|
||
``` | ||
undefined reference to `_imp__xmlFree' | ||
``` | ||
|
||
To fix this, you need to pass `-DIN_LIBXML` when compiling your **client**. See this [comment](https://github.com/GNOME/libxml2/blob/v2.9.2/include/libxml/xmlexports.h#L111-L115). | ||
Example `Makevars.win` file: | ||
|
||
```Make | ||
LIB_XML="../windows/libxml2-2.9.2" | ||
PKG_CPPFLAGS= -I${LIB_XML}/include -DIN_LIBXML | ||
PKG_LIBS= -L${LIB_XML}/lib${R_ARCH} -lxml2 -liconv -lz -lws2_32 | ||
``` | ||
|
||
Patched libxml2 versions from msys2. | ||
Client must build with `-DLIBXML_STATIC` to link against static libraries. |