Subject: Re: [PATCH v2 4/5] meson.build: correct setting of GIT_EXEC_PATH

From: [email-masked]
Date: Mon, 16 Jun 2025 22:08:32 +0000

This completely breaks meson builds with 'libexecdir' set. Git can not find any helper tools because 'git_exec_path' is set incorrectly.

It supposed to be:

--- meson.build
+++ meson.build
@@ -1597,7 +1597,7 @@
  git_exec_path = 'libexec/git-core'
  libexec = get_option('libexecdir')
  if libexec != 'libexec' and libexec != '.'
-  git_exec_path = libexec
+  git_exec_path = libexec / 'git-core'
  endif
  
  if get_option('runtime_prefix')