[Spice-commits] meson.build

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Apr 30 07:31:34 UTC 2020


 meson.build |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 0413b222cbba5a900a08a1e93bba521469297891
Author: Frediano Ziglio <freddy77 at gmail.com>
Date:   Sat Apr 25 13:42:00 2020 +0100

    build: Install ACL helper in libexec directory
    
    The executable is not intended to be called by users.
    Many distributions already relocate the executable to another
    directory.
    This fixes Gitlab issue #123.
    
    Signed-off-by: Frediano Ziglio <freddy77 at gmail.com>
    Acked-by: Francesco Giudici <fgiudici at redhat.com>

diff --git a/meson.build b/meson.build
index 7cb9bdc..1b3e08d 100644
--- a/meson.build
+++ b/meson.build
@@ -239,7 +239,7 @@ endif
 # usb-acl-helper-dir
 spice_gtk_usb_acl_helper_dir = get_option('usb-acl-helper-dir')
 if spice_gtk_usb_acl_helper_dir.strip() == ''
-  spice_gtk_usb_acl_helper_dir = spice_gtk_bindir
+  spice_gtk_usb_acl_helper_dir = spice_gtk_prefix / get_option('libexecdir')
 endif
 spice_gtk_config_data.set_quoted('ACL_HELPER_PATH', spice_gtk_usb_acl_helper_dir)
 


More information about the Spice-commits mailing list