Skip to content
Snippets Groups Projects
Commit d5146945 authored by James R.'s avatar James R.
Browse files

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

This is for MSYS2, which requires unix shell commands.
parent 2d7a8c3c
No related branches found
No related tags found
1 merge request!1553Some issues with the Makefile
...@@ -29,7 +29,10 @@ $(call Print,$(_m)) ...@@ -29,7 +29,10 @@ $(call Print,$(_m))
# go for a 32-bit sdl mingw exe by default # go for a 32-bit sdl mingw exe by default
MINGW:=1 MINGW:=1
# cmd.exe uses native Windows semicolon delimited PATH
ifneq (,$(findstring ;,$(PATH)))
WINDOWSHELL:=1 WINDOWSHELL:=1
endif
else # if you on the *nix else # if you on the *nix
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment