Makefile: using generic windres if specific one is not present in mingw platform

This commit is contained in:
Eugene Molotov 2017-03-23 20:34:27 +05:00
parent d4e1a01f33
commit 864f66a1c0
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))