mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 11:26:16 +01:00
Meson: Fix linking of gdbus-peer test
This commit is contained in:
parent
5c22b2ddde
commit
a46f88ba1b
@ -16,10 +16,10 @@ gdbus_example_objectmanager_generated = custom_target('gdbus-example-objectmanag
|
||||
|
||||
libgdbus_example_objectmanager = library('gdbus-example-objectmanager',
|
||||
gdbus_example_objectmanager_generated,
|
||||
c_args : gio_c_args,
|
||||
c_args : test_c_args,
|
||||
dependencies : [libglib_dep, libgmodule_dep, libgobject_dep, libgio_dep],
|
||||
install : installed_tests_enabled,
|
||||
install_dir : installed_tests_execdir)
|
||||
|
||||
libgdbus_example_objectmanager_dep = declare_dependency(sources : gdbus_example_objectmanager_generated,
|
||||
libgdbus_example_objectmanager_dep = declare_dependency(
|
||||
link_with : libgdbus_example_objectmanager)
|
||||
|
@ -122,7 +122,10 @@ endif
|
||||
if host_machine.system() != 'windows'
|
||||
gio_tests += {
|
||||
'file' : {},
|
||||
'gdbus-peer' : {'dependencies' : [libgdbus_example_objectmanager_dep]},
|
||||
'gdbus-peer' : {
|
||||
'dependencies' : [libgdbus_example_objectmanager_dep],
|
||||
'install_rpath' : installed_tests_execdir
|
||||
},
|
||||
'gdbus-peer-object-manager' : {},
|
||||
'live-g-file' : {},
|
||||
'socket-address' : {},
|
||||
@ -471,6 +474,7 @@ foreach test_name, extra_args : gio_tests
|
||||
exe = executable(test_name, [source, extra_sources],
|
||||
c_args : test_c_args + extra_args.get('c_args', []),
|
||||
dependencies : common_gio_tests_deps + extra_args.get('dependencies', []),
|
||||
install_rpath : extra_args.get('install_rpath', ''),
|
||||
install_dir: installed_tests_execdir,
|
||||
install: install,
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user