From 41c3155fdf71cd17d374f0e0a4fdf2830a354f04 Mon Sep 17 00:00:00 2001 From: Olivier Fourdan Date: Wed, 17 Apr 2024 15:59:44 +0200 Subject: [PATCH] xwayland: Use exec name instead of hardcoding '/Xwayland' Use the target name instead of hardcoding the 'Xwayland' executable name, along with the / operator. Signed-off-by: Olivier Fourdan Part-of: --- hw/xwayland/meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/xwayland/meson.build b/hw/xwayland/meson.build index bca6a899a..458f3c09e 100644 --- a/hw/xwayland/meson.build +++ b/hw/xwayland/meson.build @@ -184,7 +184,7 @@ pkgconfig.generate( description: 'X Server for Wayland', variables: [ 'exec_prefix=${prefix}', - 'xwayland=' + xwayland_path + '/Xwayland', + 'xwayland=' + xwayland_path / xwayland_server.name(), ] + xwayland_vars, ) @@ -196,7 +196,7 @@ xwayland_manpage = configure_file( install_man(xwayland_manpage) desktop_data = configuration_data() -desktop_data.set('XWAYLAND', xwayland_path + '/Xwayland')) +desktop_data.set('XWAYLAND', xwayland_path / xwayland_server.name()) desktop_data.set('DECORATE', have_libdecor ? '-decorate' : '') desktop_file = configure_file( input: 'desktop/org.freedesktop.Xwayland.desktop.in',