Makefile: don't automatically set WINDOWSHELL unless PATH matches Windows norms

This is for MSYS2, which requires unix shell commands.
This commit is contained in:
James R 2021-06-21 16:10:13 -07:00
parent 2d7a8c3c57
commit d5146945a6
1 changed files with 3 additions and 0 deletions

View File

@ -29,7 +29,10 @@ $(call Print,$(_m))
# go for a 32-bit sdl mingw exe by default
MINGW:=1
# cmd.exe uses native Windows semicolon delimited PATH
ifneq (,$(findstring ;,$(PATH)))
WINDOWSHELL:=1
endif
else # if you on the *nix