mirror of
https://github.com/reactos/reactos.git
synced 2026-11-16 20:38:23 +08:00
auto-detect msys instead of requiring users to tell our build system about it
svn path=/trunk/; revision=19600
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user