mirror of https://github.com/google/oss-fuzz.git
xmlsec: fix build (#7620)
This commit is contained in:
parent
15cd77a60e
commit
7cce1328bf
|
@ -21,20 +21,38 @@ export XMLSEC_DEPS_PATH=$SRC/xmlsec_deps
|
||||||
mkdir -p $XMLSEC_DEPS_PATH
|
mkdir -p $XMLSEC_DEPS_PATH
|
||||||
|
|
||||||
cd $SRC/libxml2
|
cd $SRC/libxml2
|
||||||
./autogen.sh
|
./autogen.sh \
|
||||||
./configure --prefix="$XMLSEC_DEPS_PATH"
|
--without-legacy \
|
||||||
make clean
|
--without-push \
|
||||||
|
--without-python \
|
||||||
|
--without-zlib \
|
||||||
|
--without-lzma \
|
||||||
|
--enable-static \
|
||||||
|
--prefix="$XMLSEC_DEPS_PATH"
|
||||||
make -j$(nproc) all
|
make -j$(nproc) all
|
||||||
make install
|
make install
|
||||||
|
|
||||||
cd $SRC/libxslt
|
cd $SRC/libxslt
|
||||||
./autogen.sh --prefix="$XMLSEC_DEPS_PATH" --with-libxml-src=${SRC}/libxml2
|
cd ../libxslt
|
||||||
|
./autogen.sh \
|
||||||
|
--with-libxml-src=../libxml2 \
|
||||||
|
--without-python \
|
||||||
|
--without-debug \
|
||||||
|
--without-debugger \
|
||||||
|
--without-profiler \
|
||||||
|
--enable-static \
|
||||||
|
--prefix="$XMLSEC_DEPS_PATH"
|
||||||
|
|
||||||
make -j$(nproc)
|
make -j$(nproc)
|
||||||
make install
|
make install
|
||||||
|
|
||||||
cd $SRC/xmlsec
|
cd $SRC/xmlsec
|
||||||
autoreconf -vfi
|
autoreconf -vfi
|
||||||
./configure --with-libxml="$XMLSEC_DEPS_PATH" --with-libxslt="$XMLSEC_DEPS_PATH"
|
./configure \
|
||||||
|
--enable-static-linking \
|
||||||
|
--enable-development \
|
||||||
|
--with-libxml="$XMLSEC_DEPS_PATH" \
|
||||||
|
--with-libxslt="$XMLSEC_DEPS_PATH"
|
||||||
make -j$(nproc) clean
|
make -j$(nproc) clean
|
||||||
make -j$(nproc) all
|
make -j$(nproc) all
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue