Files
xserver/hw/xfree86/fbdevhw/meson.build
b-aaz a53697e70e xfree86: meson: Use install_symlink function instead of a hack.
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>
2025-12-21 11:39:23 +01:00

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,
))