reorder OS detection

This commit is contained in:
Alex Rosario 2012-01-11 17:07:22 -05:00
parent 0f69665d17
commit 0a7c84e767
1 changed files with 2 additions and 2 deletions

View File

@ -2,12 +2,12 @@ ifeq ($(platform),)
platform = unix
ifeq ($(shell uname -a),)
platform = win
else ifneq ($(findstring Darwin,$(shell uname -a)),)
platform = osx
else ifneq ($(findstring MINGW,$(shell uname -a)),)
platform = win
else ifneq ($(findstring win,$(shell uname -a)),)
platform = win
else ifneq ($(findstring Darwin,$(shell uname -a)),)
platform = osx
endif
endif