mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-05 15:32:49 +00:00
This was a old hack used before Meson 0.61.0 added install_symlink, we are at the meson release 1.10.0 so it is safe to use the new proper function for this task. Also used the X server's executable name as the link target name, and as the SUID wrapper's name. Moved the minimum Meson version up to 0.61.0. Signed-off-by: b-aaz <b-aazbsd@proton.me>
24 lines
513 B
Meson
24 lines
513 B
Meson
if host_machine.system() == 'linux'
|
|
srcs_fbdevhw = 'fbdevhw.c'
|
|
else
|
|
srcs_fbdevhw = 'fbdevhwstub.c'
|
|
endif
|
|
|
|
shared_module('fbdevhw',
|
|
srcs_fbdevhw,
|
|
include_directories: [ inc, xorg_inc ],
|
|
dependencies: common_dep,
|
|
c_args: xorg_c_args,
|
|
install: true,
|
|
install_dir: module_abi_dir,
|
|
link_with: xserver_exec,
|
|
)
|
|
|
|
install_data('fbdevhw.h', install_dir: xorgsdkdir)
|
|
|
|
install_man(configure_file(
|
|
input: 'man/fbdevhw.man',
|
|
output: 'fbdevhw.4',
|
|
configuration: manpage_config,
|
|
))
|