[gcr/wip/lantw/meson-Fix-LIBEXECDIR-definition: 2/2] meson: Fix LIBEXECDIR definition



commit 06d7d43adba0d40e2821d1d1b08608ffec127471
Author: Ting-Wei Lan <lantw src gnome org>
Date:   Sun Feb 2 18:02:32 2020 +0800

    meson: Fix LIBEXECDIR definition
    
    After switching the build system from autotools to meson, gnome-keyring
    can no longer unlock ssh keys.
    
    sign_and_send_pubkey: signing failed: agent refused operation
    user@host's password:
    
    Running 'truss' on 'gnome-keyring-daemon' shows that it fails to execute
    'gcr-ssh-askpass' file.
    
    write(2,"ssh_askpass: exec(<prefix>/libexec/gcr/gcr-ssh-askpass): No such file or directory\n",105) ERR#9 
'Bad file descriptor'
    
    To keep both autotools and meson builds working, change the definition
    in meson build to be the same as autotools build.

 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index 96bf0f4..da20c2b 100644
--- a/meson.build
+++ b/meson.build
@@ -29,7 +29,7 @@ build_root = meson.current_build_dir()
 cc = meson.get_compiler('c')
 
 gcr_prefix = get_option('prefix')
-libexecbindir = gcr_prefix / get_option('libexecdir') / meson.project_name()
+libexecbindir = gcr_prefix / get_option('libexecdir')
 podir = source_root / 'po'
 
 # Dependencies


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]