aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2025-04-25 16:11:28 +0200
committerJunio C Hamano <gitster@pobox.com>2025-04-25 09:54:39 -0700
commit2cfe0541e711be39a47d093cba608c0700d027ec (patch)
tree408d411a820bca1dfc634b6d766b838c8f0b5ded
parentThe eighth batch (diff)
downloadgit-2cfe0541e711be39a47d093cba608c0700d027ec.tar.gz
git-2cfe0541e711be39a47d093cba608c0700d027ec.zip
meson: report detected runtime executable paths
Git needs to know about a couple of executable paths to pick at runtime. This includes the system shell, but may also optionally include the Perl and Python interpreters. Meson detects the location of these paths automatically via `find_program()`, which does a lookup via the `PATH` environment variable. As such, it may not be immediately obvious to the developer which paths have been autodetected. Improve this by exposing runtime executable paths at setup time. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--meson.build6
1 files changed, 6 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index c47cb79af0..a180c66ee6 100644
--- a/meson.build
+++ b/meson.build
@@ -2080,3 +2080,9 @@ summary({
'sha256': sha256_backend,
'zlib': zlib_backend,
}, section: 'Backends')
+
+summary({
+ 'perl': target_perl,
+ 'python': target_python,
+ 'shell': target_shell,
+}, section: 'Runtime executable paths')