Skip to content

Commit 7c44b33

Browse files
Steven Pennygitster
authored andcommitted
Makefile: POSIX windres
When environment variable POSIXLY_CORRECT is set, the "input -o output" syntax is not supported. http://cygwin.com/ml/cygwin/2017-01/msg00036.html Use "-i input -o output" syntax instead. Signed-off-by: Steven Penny <svnpenn@gmail.com> Acked-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent e05806d commit 7c44b33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1816,7 +1816,7 @@ $(SCRIPT_LIB) : % : %.sh GIT-SCRIPT-DEFINES
18161816
git.res: git.rc GIT-VERSION-FILE
18171817
$(QUIET_RC)$(RC) \
18181818
$(join -DMAJOR= -DMINOR=, $(wordlist 1,2,$(subst -, ,$(subst ., ,$(GIT_VERSION))))) \
1819-
-DGIT_VERSION="\\\"$(GIT_VERSION)\\\"" $< -o $@
1819+
-DGIT_VERSION="\\\"$(GIT_VERSION)\\\"" -i $< -o $@
18201820

18211821
# This makes sure we depend on the NO_PERL setting itself.
18221822
$(SCRIPT_PERL_GEN): GIT-BUILD-OPTIONS

0 commit comments

Comments
 (0)