From 50e262d73999bc7c7d9c6b9f4707d8916e631087 Mon Sep 17 00:00:00 2001 From: John Popplewell Date: Thu, 19 Jun 2008 16:00:52 +0000 Subject: [PATCH] Fix for OS detection on Win32. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c95951c31..ee13dffbc 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ MAGIC_API_VERSION:=0x00000001 # Need to know the OS SYSNAME:=$(shell uname -s) -ifeq ($(SYSNAME),MINGW32_NT-5.0) +ifeq ($(findstring MINGW32, $(SYSNAME)),MINGW32) OS:=windows else ifeq ($(SYSNAME),Darwin)