Merge pull request #41 from xhairball/fixes/check-cc-when-cross-compiling-mingw32

When cross compiling on mingw32, make sure it finds a CC
This commit is contained in:
Zack Middleton 2014-02-07 22:33:02 -06:00
commit c2e2514efc

View file

@ -534,6 +534,10 @@ ifeq ($(PLATFORM),mingw32)
endif
endif
ifeq ($(CC),)
$(error Cannot find a suitable cross compiler for $(PLATFORM))
endif
BASE_CFLAGS = -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes \
-DUSE_ICON