Screen-share fails when built with meson/ninja
When building using meson/ninja screen-share fails loading at Weston startup:
[00:01:28.603] Loading module '/usr/local/lib/weston/desktop-shell.so'
[00:01:28.604] launching '/usr/local/libexec/weston-keyboard'
[00:01:28.604] Loading module '/usr/local/lib/weston/screen-share.so'
[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
Compiling the very same source with automake seems to work. From what I can tell, it seems to be related how meson/ninja builds screen-share.so
. When I copy screen-share.so
from the automake build and use the rest from the meson/ninja build, screen sharing works.