Commit 27a70dcc authored by Jean-Paul Saman's avatar Jean-Paul Saman

uclibc support for xml2

parent 606dd6c7
...@@ -1470,6 +1470,9 @@ ifdef HAVE_WIN32 ...@@ -1470,6 +1470,9 @@ ifdef HAVE_WIN32
patch -p0 < Patches/xml2-win32.patch patch -p0 < Patches/xml2-win32.patch
rm -f xml/aclocal.m4 rm -f xml/aclocal.m4
endif endif
ifdef HAVE_UCLIBC
patch -p0 < Patches/xml2-uclibc.patch
endif
.xml: xml .xml: xml
(cd xml; CFLAGS="-DLIBXML_STATIC" $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) --with-minimal --with-catalog --with-reader --with-tree --with-push --with-xptr --with-valid --with-xpath --with-xinclude --with-sax1 --without-zlib --without-iconv --without-http --without-ftp && make && make install) (cd xml; CFLAGS="-DLIBXML_STATIC" $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) --with-minimal --with-catalog --with-reader --with-tree --with-push --with-xptr --with-valid --with-xpath --with-xinclude --with-sax1 --without-zlib --without-iconv --without-http --without-ftp && make && make install)
......
--- xml/config.sub.orig 2007-05-14 17:21:21.000000000 +0200
+++ xml/config.sub 2007-05-14 17:22:29.000000000 +0200
@@ -1110,6 +1110,9 @@
-unixware*)
os=-sysv4.2uw
;;
+ -uclibc*)
+ os=-linux
+ ;;
-gnu/linux*)
os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
;;
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