mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-21 02:11:19 +00:00
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
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue