From c490e3c522b2993caa932f9f7c7ecc556a45facb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Tue, 25 Oct 2022 16:16:44 +0200 Subject: [PATCH] gio/tests/meson: Add resource plugin as test dependency --- gio/tests/meson.build | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gio/tests/meson.build b/gio/tests/meson.build index 55ccf54d2..0beb68ed0 100644 --- a/gio/tests/meson.build +++ b/gio/tests/meson.build @@ -699,6 +699,7 @@ endif if meson.can_run_host_binaries() + resource_plugin = [] compiler_type = '--compiler=@0@'.format(cc.get_id()) if glib_build_shared @@ -714,7 +715,8 @@ if meson.can_run_host_binaries() '--c-name', '_g_plugin', '@INPUT@']) - shared_module('resourceplugin', 'resourceplugin.c', plugin_resources_c, + resource_plugin += shared_module('resourceplugin', + sources: ['resourceplugin.c', plugin_resources_c], link_args : export_dynamic_ldflags, dependencies : common_gio_tests_deps, install_dir : installed_tests_execdir, @@ -907,6 +909,7 @@ if meson.can_run_host_binaries() gio_tests += { 'resources' : { 'extra_sources' : resources_extra_sources, + 'depends' : resource_plugin, }, } endif