mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-06 09:26:17 +01:00
Merge branch 'msys2-ci' into 'main'
CI/MSYS2: Fix prefix for gobject-introspection See merge request GNOME/glib!4338
This commit is contained in:
commit
da5ce72171
@ -2,8 +2,6 @@
|
||||
|
||||
set -ex
|
||||
|
||||
export PATH="/c/msys64/$MSYSTEM/bin:$PATH"
|
||||
|
||||
pacman --noconfirm -Suy
|
||||
|
||||
pacman --noconfirm -S --needed \
|
||||
@ -40,7 +38,7 @@ export PATH CFLAGS
|
||||
if [[ $(vercmp "$(pacman -Qi "${MINGW_PACKAGE_PREFIX}"-gobject-introspection | grep -Po '^Version\s*: \K.+')" "${GOBJECT_INTROSPECTION_TAG}") -lt 0 ]]; then
|
||||
mkdir -p gobject-introspection
|
||||
git clone --branch "${GOBJECT_INTROSPECTION_TAG}" https://gitlab.gnome.org/GNOME/gobject-introspection.git gobject-introspection
|
||||
meson gobject-introspection gobject-introspection/build --prefix "/c/msys64/${MSYSTEM}/usr"
|
||||
meson setup gobject-introspection gobject-introspection/build --prefix "${MINGW_PREFIX}"
|
||||
meson install -C gobject-introspection/build
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user