diff options
author | Iñigo Martínez <inigomartinez@gmail.com> | 2018-04-10 22:50:31 +0200 |
---|---|---|
committer | Iñigo Martínez <inigomartinez@gmail.com> | 2018-08-11 22:56:33 +0200 |
commit | c50f3758d3e5da4f8b244227b211c3c3f454275c (patch) | |
tree | 3dacd4bde8e8c368710b1cecf46df808d4eb98ef /tests | |
parent | 183e193ba8823de398e8b22491478176acb923c9 (diff) | |
download | dconf-c50f3758d3e5da4f8b244227b211c3c3f454275c.tar.gz |
build: Fix internal dependencies
meson is able to generate internal dependencies for handling built
libraries. These internal dependencies depend on other dependencies
as well, based on the includes exposed by their headers.
This have been fixed by using proper internal dependencies for these
libraries.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/meson.build | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/meson.build b/tests/meson.build index 0ec6cbe..83bb446 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -22,14 +22,14 @@ m_dep = cc.find_library('m') unit_tests = [ # [name, sources, c_args, dependencies, link_with] - ['paths', 'paths.c', [], glib_dep, libdconf_common], - ['changeset', 'changeset.c', [], glib_dep, libdconf_common], - ['shm', ['shm.c', 'tmpdir.c'], [], [glib_dep, dl_dep], libdconf_shm], - ['gvdb', 'gvdb.c', '-DSRCDIR="@0@"'.format(test_dir), glib_dep, libgvdb], - ['gdbus-thread', 'dbus.c', '-DDBUS_BACKEND="/gdbus/thread"', gio_unix_dep, libdconf_gdbus_thread], - ['gdbus-filter', 'dbus.c', '-DDBUS_BACKEND="/gdbus/filter"', gio_unix_dep, libdconf_gdbus_filter], - ['engine', 'engine.c', '-DSRCDIR="@0@"'.format(test_dir), [glib_dep, dl_dep, m_dep], [libdconf_engine, libdconf_common, libdconf_mock]], - ['client', 'client.c', '-DSRCDIR="@0@"'.format(test_dir), gio_unix_dep, [libdconf_client, libdconf_engine, libdconf_common, libdconf_mock]] + ['paths', 'paths.c', [], libdconf_common_dep, []], + ['changeset', 'changeset.c', [], libdconf_common_dep, []], + ['shm', ['shm.c', 'tmpdir.c'], [], [dl_dep, libdconf_common_dep, libdconf_shm_dep], []], + ['gvdb', 'gvdb.c', '-DSRCDIR="@0@"'.format(test_dir), libgvdb_dep, []], + ['gdbus-thread', 'dbus.c', '-DDBUS_BACKEND="/gdbus/thread"', libdconf_gdbus_thread_dep, []], + ['gdbus-filter', 'dbus.c', '-DDBUS_BACKEND="/gdbus/filter"', libdconf_gdbus_filter_dep, []], + ['engine', 'engine.c', '-DSRCDIR="@0@"'.format(test_dir), [dl_dep, libdconf_engine_dep, m_dep], libdconf_mock], + ['client', 'client.c', '-DSRCDIR="@0@"'.format(test_dir), [libdconf_client_dep, libdconf_engine_dep], libdconf_mock] ] foreach unit_test: unit_tests |