Merge pull request #277 from em92/master

Fallback to generic a windres if a cross compiler one cannot be found
This commit is contained in:
Tim Angus 2017-03-23 15:49:45 +00:00 committed by GitHub
commit 25cc2edc69
1 changed files with 5 additions and 3 deletions

View File

@ -530,10 +530,12 @@ ifdef MINGW
CC=gcc CC=gcc
endif endif
endif
# using generic windres if specific one is not present
ifndef WINDRES ifndef WINDRES
WINDRES=windres WINDRES=windres
endif endif
endif
ifeq ($(CC),) ifeq ($(CC),)
$(error Cannot find a suitable cross compiler for $(PLATFORM)) $(error Cannot find a suitable cross compiler for $(PLATFORM))