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:
parent
2d7a8c3c57
commit
d5146945a6
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue