From 31bd6956f0c2c946661b4025ac070afb10133016 Mon Sep 17 00:00:00 2001 From: Luca Bacci Date: Mon, 30 Sep 2024 15:06:20 +0200 Subject: [PATCH] CI/MSYS2: Fix prefix for gobject-introspection The right prefix is /c/msys64/${MSYSTEM}, without the final /usr. Anyway let's simply use the MINGW_PREFIX environment variable. --- .gitlab-ci/test-msys2.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci/test-msys2.sh b/.gitlab-ci/test-msys2.sh index 29c103a4f..da262535c 100755 --- a/.gitlab-ci/test-msys2.sh +++ b/.gitlab-ci/test-msys2.sh @@ -40,7 +40,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