From 7cd37a4017d3317b10278fd65206ad6785d4d28f Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Tue, 19 Sep 2017 01:05:13 +0200 Subject: [PATCH] build: Add missing dependency to run-js-test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit run-js-test requires girepository.h header file which is provided by gobject-introspection. gobject-introspection is required by gjs, another of our dependencies, so, usually, the header gets included by inheriting the cflags from there but some distros interpret pkg-config fields more strictly[1] so that will not be the case there. Listing direct dependencies explicitly is a good practice any way so let’s do that. [1]: https://bugs.freedesktop.org/show_bug.cgi?id=105572 https://bugzilla.gnome.org/show_bug.cgi?id=787864 https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1114 --- src/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/meson.build b/src/meson.build index 05bdb9bea..46680d5b4 100644 --- a/src/meson.build +++ b/src/meson.build @@ -268,7 +268,7 @@ executable('gnome-shell-perf-helper', 'shell-perf-helper.c', ) executable('run-js-test', 'run-js-test.c', - dependencies: [mutter_dep, gio_dep, gjs_dep], + dependencies: [mutter_dep, gio_dep, gi_dep, gjs_dep], include_directories: [conf_inc], link_with: libshell, build_rpath: mutter_typelibdir,