mirror of
https://github.com/git/git.git
synced 2026-03-13 10:23:30 +01:00
gitk: Disable msgfmt on MinGW.
This auto-detects whether the build takes place for the MinGW port, which does not have msgfmt. Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>
This commit is contained in:
@@ -18,6 +18,10 @@ TCLTK_PATH_SQ = $(subst ','\'',$(TCLTK_PATH))
|
||||
|
||||
## po-file creation rules
|
||||
XGETTEXT ?= xgettext
|
||||
uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo not')
|
||||
ifneq (,$(findstring MINGW,$(uname_S)))
|
||||
NO_MSGFMT=1
|
||||
endif
|
||||
ifdef NO_MSGFMT
|
||||
MSGFMT ?= $(TCL_PATH) po/po2msg.sh
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user