aboutsummaryrefslogtreecommitdiffstats
path: root/g10/keyserver.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/keyserver.c')
-rw-r--r--g10/keyserver.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/g10/keyserver.c b/g10/keyserver.c
index cff51290b..c64ad4bc8 100644
--- a/g10/keyserver.c
+++ b/g10/keyserver.c
@@ -339,6 +339,11 @@ keyserver_spawn(int action,STRLIST list,
opt.keyserver_options.use_temp_files=1;
#endif
+#ifndef FIXED_EXEC_PATH
+ /* Push the libdir into path */
+ set_exec_path(GNUPG_LIBEXECDIR,opt.exec_path_set);
+#endif
+
/* Build the filename for the helper to execute */
command=m_alloc(strlen("gpgkeys_")+strlen(opt.keyserver_scheme)+1);