diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2011-10-03 23:22:02 +0200 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2011-10-03 23:22:02 +0200 |
commit | 387daa1f2c0aac2db74a72cab6f60db28c5144fc (patch) | |
tree | 04b702e8b80c6ab7c0bc5a515bc37c3325fbda79 | |
parent | 83a09b5723594f7abbbe8e7487f406569b5267be (diff) |
Making sure the mingw32 makefile works on all msys distributions.
-rw-r--r-- | Makefile.mingw32 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.mingw32 b/Makefile.mingw32 index 1272ad5..b420084 100644 --- a/Makefile.mingw32 +++ b/Makefile.mingw32 @@ -1,4 +1,5 @@ SYSTEM=$(shell uname) +SUBSYSTEM=$(shell uname | cut -f 1 -d_ ) ifeq ($(SYSTEM),Darwin) CC = i386-mingw32-gcc CXX = i386-mingw32-g++ @@ -6,7 +7,7 @@ LD = i386-mingw32-g++ STRIP = i386-mingw32-strip --strip-unneeded AR = i386-mingw32-ar rcs else -ifeq ($(SYSTEM),MINGW32_NT-5.1) +ifeq ($(SUBSYSTEM),MINGW32) CC = gcc CXX = g++ LD = g++ |