From 1b90004c013fbc59aacf642e05ef3d49d5fdbdbc Mon Sep 17 00:00:00 2001 From: fafryd Date: Sat, 19 May 2018 04:40:13 +0200 Subject: [PATCH] FS#58644 --- hw/xfree86/common/meson.build | 13 +++++++++++++ hw/xfree86/meson.build | 6 ------ 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/hw/xfree86/common/meson.build b/hw/xfree86/common/meson.build index 514999ff6..0eff6e488 100644 --- a/hw/xfree86/common/meson.build +++ b/hw/xfree86/common/meson.build @@ -1,3 +1,16 @@ +if get_option('suid_wrapper') + x_sh = configure_file( + input: '../Xorg.sh.in', + output: 'Xorg', + configuration: conf_data, + ) + install_data( + x_sh, + install_mode: 'rwxr-xr-x', + install_dir: join_paths(get_option('prefix'), get_option('bindir')), + ) +endif + srcs_xorg_common = [ 'xf86fbBus.c', 'xf86noBus.c', diff --git a/hw/xfree86/meson.build b/hw/xfree86/meson.build index cacf56d4c..5729eb8e4 100644 --- a/hw/xfree86/meson.build +++ b/hw/xfree86/meson.build @@ -145,12 +145,6 @@ if get_option('suid_wrapper') install_dir: get_option('libexecdir'), # install_mode: ['r-sr-xr-x', 0, 0], ) - configure_file( - input: 'Xorg.sh.in', - output: 'Xorg', - configuration: conf_data, - install_dir: join_paths(get_option('prefix'), get_option('bindir')), - ) endif executable('cvt', -- 2.17.0