summaryrefslogtreecommitdiffstats
path: root/config.mak.uname
diff options
context:
space:
mode:
authorD Harithamma <harithamma.d@ibm.com>2024-08-22 15:52:12 +0200
committerJunio C Hamano <gitster@pobox.com>2024-08-22 17:58:46 +0200
commit987bbcd088fc6274e21b4fac36e58a66c4ded460 (patch)
treee5b2c9d10469bf2986c69cdb94ac7b740a432a09 /config.mak.uname
parentThe seventh batch (diff)
downloadgit-987bbcd088fc6274e21b4fac36e58a66c4ded460.tar.xz
git-987bbcd088fc6274e21b4fac36e58a66c4ded460.zip
exec_cmd: RUNTIME_PREFIX on z/OS systems
Enable Git to resolve its own binary location using __getprogramdir and getprogname. Since /proc is not a mandatory filesystem on z/OS, we cannot rely on the git_get_exec_path_procfs method to determine Git's executable path. To address this, we have implemented git_get_exec_path_zos, which resolves the executable path by extracting it from the current program's directory and filename. Signed-off-by: D Harithamma <harithamma.d@ibm.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'config.mak.uname')
-rw-r--r--config.mak.uname1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.mak.uname b/config.mak.uname
index aa0fd26bd5..904bcf3598 100644
--- a/config.mak.uname
+++ b/config.mak.uname
@@ -648,6 +648,7 @@ ifeq ($(uname_S),OS/390)
NO_GECOS_IN_PWENT = YesPlease
HAVE_STRINGS_H = YesPlease
NEEDS_MODE_TRANSLATION = YesPlease
+ HAVE_ZOS_GET_EXECUTABLE_PATH = YesPlease
endif
ifeq ($(uname_S),MINGW)
ifeq ($(shell expr "$(uname_R)" : '1\.'),2)