diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2011-10-03 23:20:21 +0200 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2011-10-03 23:20:21 +0200 |
commit | a01e7714498fb2727cd1f4553d48a842a9252ec8 (patch) | |
tree | 82c815ecd9a614f221ee014bbfc53f2c9bdd5565 /Makefile.mingw32 | |
parent | ad65ec359afdafa464cc685742b6b7bb805a1996 (diff) |
Making sure the mingw32 makefile works on all msys distributions.
Diffstat (limited to 'Makefile.mingw32')
-rw-r--r-- | Makefile.mingw32 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.mingw32 b/Makefile.mingw32 index 46212b2..10b839e 100644 --- a/Makefile.mingw32 +++ b/Makefile.mingw32 @@ -1,11 +1,12 @@ SYSTEM=$(shell uname) +SUBSYSTEM=$(shell uname | cut -f1 -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++ |