mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-11 15:06:14 +01:00
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.
This commit is contained in:
parent
c96cd22cf9
commit
31bd6956f0
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user