Commit a3931ec6 authored by Povilas Kanapickas's avatar Povilas Kanapickas
Browse files

xfree86: Create a symlink X -> Xorg when installing using meson

This brings the behavior closer than what we currently have with
autotools-based build system.

Meson does not currently have native support for symlinks.
See https://github.com/mesonbuild/meson/issues/1602

.
Signed-off-by: Povilas Kanapickas's avatarPovilas Kanapickas <povilas@radix.lt>
parent 09cd6523
Pipeline #290522 passed with stages
in 5 minutes and 30 seconds
......@@ -138,6 +138,12 @@ if get_option('xf86-input-inputtest')
subdir('drivers/inputtest')
endif
meson.add_install_script(
'sh', '-c',
'ln -fs Xorg @0@@1@'.format(
'${DESTDIR}',
join_paths(get_option('prefix'), get_option('bindir'), 'X')))
if get_option('suid_wrapper')
executable('Xorg.wrap',
'xorg-wrapper.c',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment