[ros-diffs] [royce] 19602: automatically detect msys without generating ugly error message on non-msys system

royce at svn.reactos.com royce at svn.reactos.com
Sat Nov 26 04:01:42 CET 2005


automatically detect msys without generating ugly error message on
non-msys system
Modified: trunk/reactos/Makefile
  _____  

Modified: trunk/reactos/Makefile
--- trunk/reactos/Makefile	2005-11-26 02:36:01 UTC (rev 19601)
+++ trunk/reactos/Makefile	2005-11-26 03:01:18 UTC (rev 19602)
@@ -115,7 +115,8 @@

 
 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20051126/bf240b70/attachment.html


More information about the Ros-diffs mailing list