libxml2/.gitlab-ci/setup_mingw.sh
Nick Wellnhofer 22ada0a0bf tests: Look for xmlconf in source directory
Add -d option to runxmlconf for automake.

Fix extraction of xmlconf.tar.gz on Windows.

Make runxmlconf work with Meson CI.
2025-02-18 23:55:28 +01:00

19 lines
359 B
Bash

#!/bin/sh
pacman --noconfirm -Syu
prefix=
if [ -n "$MINGW_PACKAGE_PREFIX" ]; then
prefix="${MINGW_PACKAGE_PREFIX}-"
fi
for module in libiconv python xz zlib "$@"; do
pacman --noconfirm -S --needed ${prefix}$module
done
mkdir -p libxml2-build
if [ ! -e xmlconf ]; then
wget https://www.w3.org/XML/Test/xmlts20080827.tar -O - |
tar -x
fi