diff --git a/reactos/Makefile b/reactos/Makefile index 6258de5190b..ccf55988031 100644 --- a/reactos/Makefile +++ b/reactos/Makefile @@ -115,8 +115,7 @@ all: makefile.auto ifeq ($(HOST),) ifeq ($(word 1,$(shell gcc -dumpmachine)),mingw32) -ifeq ($(findstring msys,$(-shell sh --version)),msys) -export OSTYPE = msys +ifeq ($(OSTYPE),msys) HOST=mingw32-linux else HOST=mingw32-windows @@ -215,7 +214,7 @@ ifeq ($(HOST),mingw32-linux) export EXEPREFIX = ./ ifeq ($(OSTYPE),msys) export EXEPOSTFIX = .exe -else +else export EXEPOSTFIX = endif export SEP = /