From 483c6d4d06c16807042111043d62a58af0457076 Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Wed, 20 Mar 2019 00:09:51 +0100 Subject: [PATCH] meson: fix building screen-share module When building screen-share module with meson loading the module fails with: [00:01:28.604] Failed to load module: /usr/local/lib/weston/screen-share.so: undefined symbol: os_create_anonymous_file Failed to process Wayland connection: Broken pipe failed to create display: Broken pipe The function os_create_anonymous_file is defined in libshared, adding libshared to the dependency makes sure the function gets compiled into screen-share.so. Fixes: https://gitlab.freedesktop.org/wayland/weston/issues/208 Signed-off-by: Stefan Agner --- compositor/meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/compositor/meson.build b/compositor/meson.build index 420a9605..d5d7282f 100644 --- a/compositor/meson.build +++ b/compositor/meson.build @@ -61,6 +61,7 @@ if get_option('screenshare') fullscreen_shell_unstable_v1_protocol_c, ] deps_screenshare = [ + dep_libshared, dep_libweston, dep_wayland_client, ]