Skip to content

Commit 2cfe054

Browse files
pks-tgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent a2955b3 commit 2cfe054

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

meson.build

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2080,3 +2080,9 @@ summary({
20802080
'sha256': sha256_backend,
20812081
'zlib': zlib_backend,
20822082
}, section: 'Backends')
2083+
2084+
summary({
2085+
'perl': target_perl,
2086+
'python': target_python,
2087+
'shell': target_shell,
2088+
}, section: 'Runtime executable paths')

0 commit comments

Comments
 (0)