diff --git a/tests/harness/meson.build b/tests/harness/meson.build index 41cc44b48..2b62945ae 100644 --- a/tests/harness/meson.build +++ b/tests/harness/meson.build @@ -69,6 +69,7 @@ lib_test_client = static_library( dep_test_client = declare_dependency( link_with: lib_test_client, sources: [ + weston_test_client_protocol_h, viewporter_client_protocol_h, ], dependencies: [ diff --git a/tests/meson.build b/tests/meson.build index 29c206c5c..d0037b38c 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -319,7 +319,6 @@ endif foreach t : tests t_name = 'test-' + t.get('name') t_sources = t.get('sources', [t.get('name') + '-test.c']) - t_sources += weston_test_client_protocol_h t_deps = [ dep_test_client, dep_libweston_private_h ] t_deps += t.get('dep_objs', [])