diff options
author | Jeff Hostetler <jeffhost@microsoft.com> | 2022-03-25 19:02:52 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-03-26 00:04:15 +0100 |
commit | f67df2556f372f6095270bf870f32ff84def2e4b (patch) | |
tree | f32772c0451b017d705ac88aef2ee92159494d84 /config.mak.uname | |
parent | compat/fsmonitor/fsm-listen-win32: stub in backend for Windows (diff) | |
download | git-f67df2556f372f6095270bf870f32ff84def2e4b.tar.xz git-f67df2556f372f6095270bf870f32ff84def2e4b.zip |
compat/fsmonitor/fsm-listen-darwin: stub in backend for Darwin
Stub in empty implementation of fsmonitor--daemon
backend for Darwin (aka MacOS).
Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'config.mak.uname')
-rw-r--r-- | config.mak.uname | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/config.mak.uname b/config.mak.uname index 26074f56be..501970902d 100644 --- a/config.mak.uname +++ b/config.mak.uname @@ -157,6 +157,16 @@ ifeq ($(uname_S),Darwin) MSGFMT = /usr/local/opt/gettext/bin/msgfmt endif endif + + # The builtin FSMonitor on MacOS builds upon Simple-IPC. Both require + # Unix domain sockets and PThreads. + ifndef NO_PTHREADS + ifndef NO_UNIX_SOCKETS + FSMONITOR_DAEMON_BACKEND = darwin + endif + endif + + BASIC_LDFLAGS += -framework CoreServices endif ifeq ($(uname_S),SunOS) NEEDS_SOCKET = YesPlease |