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 <povilas@radix.lt>
This commit is contained in:
parent
09cd65233e
commit
a3931ec6f4
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue