Prune unused features from libxml/libxslt

This commit is contained in:
Joe Groocock 2018-08-19 20:24:29 +01:00
parent eae5086546
commit 93aeb86ab0
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

View File

@ -27,7 +27,14 @@ WORKDIR /tmp/libxml2
RUN git clone https://gitlab.gnome.org/GNOME/libxml2.git --branch $LIBXML2_VER --depth 1 . \ RUN git clone https://gitlab.gnome.org/GNOME/libxml2.git --branch $LIBXML2_VER --depth 1 . \
&& ./autogen.sh \ && ./autogen.sh \
--prefix=/usr \ --prefix=/usr \
--without-debug \ --without-catalog \
--without-docbook \
--without-ftp \
--without-http \
--without-iconv \
--without-iso8859x \
--without-legacy \
--without-modules \
--without-python \ --without-python \
&& make \ && make \
&& make DESTDIR=/prefix install && make DESTDIR=/prefix install
@ -38,8 +45,8 @@ RUN git clone https://gitlab.gnome.org/GNOME/libxslt.git --branch $LIBXSLT_VER -
&& ./autogen.sh \ && ./autogen.sh \
--prefix=/usr \ --prefix=/usr \
--with-libxml-src="../libxml2" \ --with-libxml-src="../libxml2" \
--without-debug \ --without-crypto \
--without-debugger \ --without-plugins \
--without-python \ --without-python \
&& make \ && make \
&& make DESTDIR=/prefix install && make DESTDIR=/prefix install