tests: test-runner needs wayland-client

weston-test-runner.h includes wayland-util.h, therefore it needs
wayland-client. A partial dependency with just compile_args might have been
enough as it does not seem to use functions from wayland-util.c, but safer this
way and no harm.

Fixes: https://lists.freedesktop.org/archives/wayland-devel/2020-January/041149.html

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
dev
Pekka Paalanen 5 years ago
parent 3938b06159
commit 1f3615f3cc
  1. 6
      tests/meson.build

@ -11,10 +11,14 @@ env_modmap += 'weston-test-desktop-shell.so=@0@;'.format(plugin_test_shell_deskt
lib_test_runner = static_library( lib_test_runner = static_library(
'test-runner', 'test-runner',
'weston-test-runner.c', 'weston-test-runner.c',
dependencies: dep_wayland_client,
include_directories: common_inc, include_directories: common_inc,
install: false, install: false,
) )
dep_test_runner = declare_dependency(link_with: lib_test_runner) dep_test_runner = declare_dependency(
dependencies: dep_wayland_client,
link_with: lib_test_runner
)
lib_test_client = static_library( lib_test_client = static_library(
'test-client', 'test-client',

Loading…
Cancel
Save