summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2021-08-24 22:32:40 (GMT)
committerJunio C Hamano <gitster@pobox.com>2021-08-24 22:32:40 (GMT)
commit6f64eeab605b82b187b2dd1fc72492f434bad603 (patch)
tree476d9ccf008ab58bbdd8e479c45df7b4bc23a14c /Makefile
parent276bc6357ebe50dae070aff9693a21c4a2bafc28 (diff)
parent2f732bf15e6dc9c2caf210784f180c6c059c570a (diff)
downloadgit-6f64eeab605b82b187b2dd1fc72492f434bad603.zip
git-6f64eeab605b82b187b2dd1fc72492f434bad603.tar.gz
git-6f64eeab605b82b187b2dd1fc72492f434bad603.tar.bz2
Merge branch 'es/trace2-log-parent-process-name'
trace2 logs learned to show parent process name to see in what context Git was invoked. * es/trace2-log-parent-process-name: tr2: log parent process name tr2: make process info collection platform-generic
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 3452aaa..d1feab0 100644
--- a/Makefile
+++ b/Makefile
@@ -1917,6 +1917,10 @@ ifneq ($(PROCFS_EXECUTABLE_PATH),)
BASIC_CFLAGS += '-DPROCFS_EXECUTABLE_PATH="$(procfs_executable_path_SQ)"'
endif
+ifndef HAVE_PLATFORM_PROCINFO
+ COMPAT_OBJS += compat/stub/procinfo.o
+endif
+
ifdef HAVE_NS_GET_EXECUTABLE_PATH
BASIC_CFLAGS += -DHAVE_NS_GET_EXECUTABLE_PATH
endif