mirror of
https://gitlab.freedesktop.org/wayland/weston
synced 2024-09-06 18:05:39 +00:00
![Philipp Zabel](/assets/img/avatar_default.png)
The cms-static, desktop-shell, hmi-controller, ivi-shell, and screen-share modules use symbols from libexec_weston, e.g.: $ ldd /usr/lib/x86_64-linux-gnu/weston/desktop-shell.so | grep "not found" libexec_weston.so.0 => not found Loading these modules from weston happens to work because the weston executable itself links against libexec_weston, and has an rpath set. Still, these modules depend on a library in a non-standard location. Adding an rpath could help static checkers to make sure all shared objects' dependencies are present. Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
32 lines
815 B
Meson
32 lines
815 B
Meson
if get_option('shell-desktop')
|
|
config_h.set_quoted('WESTON_SHELL_CLIENT', get_option('desktop-shell-client-default'))
|
|
|
|
srcs_shell_desktop = [
|
|
'shell.c',
|
|
'exposay.c',
|
|
'input-panel.c',
|
|
weston_desktop_shell_server_protocol_h,
|
|
weston_desktop_shell_protocol_c,
|
|
input_method_unstable_v1_server_protocol_h,
|
|
input_method_unstable_v1_protocol_c,
|
|
]
|
|
deps_shell_desktop = [
|
|
dep_libm,
|
|
dep_libexec_weston,
|
|
dep_libshared,
|
|
dep_lib_desktop,
|
|
dep_libweston_public,
|
|
]
|
|
plugin_shell_desktop = shared_library(
|
|
'desktop-shell',
|
|
srcs_shell_desktop,
|
|
include_directories: common_inc,
|
|
dependencies: deps_shell_desktop,
|
|
name_prefix: '',
|
|
install: true,
|
|
install_dir: dir_module_weston,
|
|
install_rpath: '$ORIGIN'
|
|
)
|
|
env_modmap += 'desktop-shell.so=@0@;'.format(plugin_shell_desktop.full_path())
|
|
endif
|