diff options
author | 2022-04-25 10:35:49 +0100 | |
---|---|---|
committer | 2022-04-25 10:35:49 +0100 | |
commit | 7cce1328bf768c7e87e11430472a4b2f345b0829 (patch) | |
tree | ede1db2bc11a25e03f98b32f46436ef755b7554e | |
parent | 15cd77a60ed1f3fd4d180725d75b865351eb878b (diff) |
xmlsec: fix build (#7620)
-rwxr-xr-x | projects/xmlsec/build.sh | 28 |
1 files changed, 23 insertions, 5 deletions
diff --git a/projects/xmlsec/build.sh b/projects/xmlsec/build.sh index bb601a79..3cf0c386 100755 --- a/projects/xmlsec/build.sh +++ b/projects/xmlsec/build.sh @@ -21,20 +21,38 @@ export XMLSEC_DEPS_PATH=$SRC/xmlsec_deps mkdir -p $XMLSEC_DEPS_PATH cd $SRC/libxml2 -./autogen.sh -./configure --prefix="$XMLSEC_DEPS_PATH" -make clean +./autogen.sh \ + --without-legacy \ + --without-push \ + --without-python \ + --without-zlib \ + --without-lzma \ + --enable-static \ + --prefix="$XMLSEC_DEPS_PATH" make -j$(nproc) all make install 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 install cd $SRC/xmlsec 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) all |