From: Patrick Griffis Date: Mon, 24 Jul 2023 00:30:30 +0000 (-0500) Subject: build: Fix building with introspection disabled and testsuite enabled X-Git-Tag: archive/raspbian/4.12.3+ds-1+rpi1~1^2^2^2~22^2~1^2~42^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=59941930f7a2506727cdcf68c4b36c2323a815b2;p=gtk4.git build: Fix building with introspection disabled and testsuite enabled The headless tests are written in Python and need g-i. --- diff --git a/testsuite/meson.build b/testsuite/meson.build index d44b08a063..5ec1634e53 100644 --- a/testsuite/meson.build +++ b/testsuite/meson.build @@ -70,7 +70,9 @@ subdir('tools') subdir('reftests') if build_gir subdir('introspection') + + if wayland_enabled + subdir('headless') + endif endif -if wayland_enabled - subdir('headless') -endif +