mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 12:23:28 +00:00
automatically detect msys without generating ugly error message on non-msys system
svn path=/trunk/; revision=19602
This commit is contained in:
+2
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user