Commit 35db4a24 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠

meson: build gir even when cross-compiling if introspection was enabled explicitly

This can be made to work in certain circumstances when
cross-compiling, so default to not building g-i stuff
when cross-compiling, but allow it if introspection was
enabled explicitly via -Dintrospection=enabled.

Fixes #454 and #381.
parent 10d9e18f
Pipeline #71460 passed with stages
in 64 minutes and 57 seconds