mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04: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
2 changed files with 4 additions and 0 deletions
|
|
@ -43,6 +43,9 @@ if dbus_dep.found()
|
||||||
dependencies : [dbus_dep, ],
|
dependencies : [dbus_dep, ],
|
||||||
install : true,
|
install : true,
|
||||||
install_dir : spa_plugindir / 'support')
|
install_dir : spa_plugindir / 'support')
|
||||||
|
spa_dbus_dep = declare_dependency(link_with: spa_dbus_lib)
|
||||||
|
else
|
||||||
|
spa_dbus_dep = declare_dependency()
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -73,6 +73,7 @@ test('test context',
|
||||||
'test-context.c',
|
'test-context.c',
|
||||||
'test-config.c',
|
'test-config.c',
|
||||||
include_directories: pwtest_inc,
|
include_directories: pwtest_inc,
|
||||||
|
dependencies: [spa_support_dep, spa_dbus_dep],
|
||||||
link_with: [pwtest_lib,
|
link_with: [pwtest_lib,
|
||||||
pipewire_module_protocol_native,
|
pipewire_module_protocol_native,
|
||||||
pipewire_module_client_node,
|
pipewire_module_client_node,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue