mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-11 23:16:14 +01:00
gio/tests/meson: Add resource plugin as test dependency
This commit is contained in:
parent
407c45ddaf
commit
c490e3c522
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user