Skip to content

Commit

Permalink
Rerun autogen to workaround autoconf tooling race for mingw build.
Browse files Browse the repository at this point in the history
  • Loading branch information
weetmuts committed Dec 26, 2024
1 parent 11da6af commit 241246d
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions 3rdparty/fetch_and_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,14 @@ then
echo Building libxml2 winapi
echo

libtoolize
./autogen.sh --host=x86_64-w64-mingw32 --with-iconv=no --with-zlib=no --with-lzma=no --with-python=no --with-http=no
if [ "$?" != 0 ]
then
# Run autogen again since ltmain.sh was not found?
echo "Strange error? Lets try again."
./autogen.sh --host=x86_64-w64-mingw32 --with-iconv=no --with-zlib=no --with-lzma=no --with-python=no --with-http=no
fi

make
fi
cd ..
Expand All @@ -246,8 +252,14 @@ then
echo Building libxslt winapi
echo

libtoolize
./autogen.sh --host=x86_64-w64-mingw32 --with-libxml-src=${DIR}/libxml2-winapi --with-python=no
if [ "$?" != 0 ]
then
# Run autogen again since ltmain.sh was not found?
echo "Strange error? Lets try again."
./autogen.sh --host=x86_64-w64-mingw32 --with-libxml-src=${DIR}/libxml2-winapi --with-python=no
fi

make
fi
cd ..
Expand Down

0 comments on commit 241246d

Please sign in to comment.