From 41bb9104804fa6f75e8862a1240c705d4fb29412 Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Mon, 3 Oct 2011 23:21:14 +0200 Subject: Making sure the mingw32 makefile works on all msys distributions. --- Makefile.mingw32 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.mingw32 b/Makefile.mingw32 index 70210b8..3695f48 100644 --- a/Makefile.mingw32 +++ b/Makefile.mingw32 @@ -1,11 +1,12 @@ SYSTEM=$(shell uname) +SUBSYSTEM=$(shell uname | cut -f 1 -d_ ) ifeq ($(SYSTEM),Darwin) CC = i386-mingw32-gcc CXX = i386-mingw32-g++ LD = i386-mingw32-g++ STRIP = i386-mingw32-strip --strip-unneeded else -ifeq ($(SYSTEM),MINGW32_NT-5.1) +ifeq ($(SUBSYSTEM),MINGW32) CC = gcc CXX = g++ LD = g++ -- cgit v1.2.3