1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-12-24 21:33:51 +03:00
libxml2/.gitlab-ci/setup_mingw.sh
Nick Wellnhofer 4c763dd092 gitlab-ci: Revert accidental change to setup_mingw.sh
Commit 3aaaf5ca shouldn't have changed this line. We need these
libraries for a full libxml2 build.
2022-12-21 22:30:25 +01:00

18 lines
393 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
if [ ! -e libxml2-build/xmlconf ]; then
mkdir -p libxml2-build
wget https://www.w3.org/XML/Test/xmlts20080827.tar -O - |
tar -x -C libxml2-build
fi