From aa29e498d5a96e6d7663ed43dc554ea03abb16fb Mon Sep 17 00:00:00 2001 From: Royce Mitchell III Date: Sat, 26 Nov 2005 02:23:07 +0000 Subject: [PATCH] auto-detect msys instead of requiring users to tell our build system about it svn path=/trunk/; revision=19600 --- reactos/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/reactos/Makefile b/reactos/Makefile index 593fa3a063f..6258de5190b 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)),msys) +export OSTYPE = msys HOST=mingw32-linux else HOST=mingw32-windows