diff mbox series

[06/17] msvc: fix dependencies of compat/msvc.c

Message ID 250385d7a339c7fc6d1ee7183f44a7ab940bb194.1560860634.git.gitgitgadget@gmail.com (mailing list archive)
State New, archived
Headers show
Series Fix MSVC support, at long last | expand

Commit Message

Linus Arver via GitGitGadget June 18, 2019, 12:23 p.m. UTC
From: Johannes Schindelin <johannes.schindelin@gmx.de>

The file compat/msvc.c includes compat/mingw.c, which means that we have
to recompile compat/msvc.o if compat/mingw.c changes.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
---
 config.mak.uname | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/config.mak.uname b/config.mak.uname
index bf5d160ef4..3310f6284c 100644
--- a/config.mak.uname
+++ b/config.mak.uname
@@ -414,6 +414,8 @@  else
 	BASIC_CFLAGS += -Zi -MDd
 endif
 	X = .exe
+
+compat/msvc.o: compat/msvc.c compat/mingw.c GIT-CFLAGS
 endif
 ifeq ($(uname_S),Interix)
 	NO_INITGROUPS = YesPlease