mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-07-21 02:05:38 +00:00
spa: declare a dependency for the dbus lib
When running meson test without a preceding ninja build, we end up with missing libraries. This somehow happened to work until recently but now it triggers an issue with libspa-dbus.so not being available during the valgrind test run, causing a test case to fail.
This commit is contained in:
parent
9afb832d22
commit
c44d0a6bbc
|
@ -43,6 +43,9 @@ if dbus_dep.found()
|
|||
dependencies : [dbus_dep, ],
|
||||
install : true,
|
||||
install_dir : spa_plugindir / 'support')
|
||||
spa_dbus_dep = declare_dependency(link_with: spa_dbus_lib)
|
||||
else
|
||||
spa_dbus_dep = declare_dependency()
|
||||
endif
|
||||
|
||||
|
||||
|
|
|
@ -73,6 +73,7 @@ test('test context',
|
|||
'test-context.c',
|
||||
'test-config.c',
|
||||
include_directories: pwtest_inc,
|
||||
dependencies: [spa_support_dep, spa_dbus_dep],
|
||||
link_with: [pwtest_lib,
|
||||
pipewire_module_protocol_native,
|
||||
pipewire_module_client_node,
|
||||
|
|
Loading…
Reference in a new issue