]> git.ipfire.org Git - thirdparty/git.git/commitdiff
msvc: fix dependencies of compat/msvc.c
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Wed, 19 Jun 2019 21:06:00 +0000 (14:06 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 20 Jun 2019 21:03:05 +0000 (14:03 -0700)
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>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
config.mak.uname

index 6ddece03509e3a1a8d2ff9e71a07092980a8678f..473613a20d2e1badc48f302baa8e2d46312f2a28 100644 (file)
@@ -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