Tag GIT_VERSION when Git is built with MSVC
This may help us debug issues on Windows, as we now can build Git natively on Windows with both MinGW and MSVC. Signed-off-by: Marius Storm-Olsen <mstormo@gmail.com> Acked-by: Johannes Sixt <j6t@kdbg.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Marius Storm-Olsen committed
Sep 16, 2009 at 10:20 UTC
f5c3178151e3963cc8cf73fdc200831850b7a632
1 file changed
+1
Makefile
+1
@@ -877,6 +877,7 @@ ifneq (,$(findstring CYGWIN,$(uname_S)))
877
UNRELIABLE_FSTAT = UnfortunatelyYes
878
endif
879
ifdef MSVC
880
+ GIT_VERSION := $(GIT_VERSION).MSVC
881
pathsep = ;
882
NO_PREAD = YesPlease
883
NO_OPENSSL = YesPlease