* Fix cross compilation

This commit is contained in:
Tim Angus 2009-10-14 00:16:17 +00:00
parent 2fd7ffe754
commit 1da457889e

View file

@ -441,7 +441,9 @@ ifeq ($(PLATFORM),mingw32)
# Some MinGW installations define CC to cc, but don't actually provide cc,
# so explicitly use gcc instead (which is the only option anyway)
ifeq ($(shell which $(CC) > /dev/null; echo $$?),1)
CC=gcc
endif
ifndef WINDRES
WINDRES=windres