From b343ffa71b77708c014d17f0a2bfb66f8d6954c5 Mon Sep 17 00:00:00 2001 From: Royce Mitchell III Date: Sat, 26 Nov 2005 03:01:18 +0000 Subject: [PATCH] automatically detect msys without generating ugly error message on non-msys system svn path=/trunk/; revision=19602 --- reactos/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/reactos/Makefile b/reactos/Makefile index ccf55988031..b654ebf5e88 100644 --- a/reactos/Makefile +++ b/reactos/Makefile @@ -115,7 +115,8 @@ all: makefile.auto ifeq ($(HOST),) ifeq ($(word 1,$(shell gcc -dumpmachine)),mingw32) -ifeq ($(OSTYPE),msys) +ifeq ($(findstring msys,$(shell sh --version 2>nul)),msys) +export OSTYPE = msys HOST=mingw32-linux else HOST=mingw32-windows