# HG changeset patch # User Matti Hamalainen # Date 1560624658 -10800 # Node ID 279b69a433df5398aff5a0203049c9b733e2484a # Parent bc16ad660e4e58f0eb8143f8fe86bb422c0e3e7d Fix Windows cross-building. diff -r bc16ad660e4e -r 279b69a433df Makefile.gen --- a/Makefile.gen Sat Jun 15 21:47:35 2019 +0300 +++ b/Makefile.gen Sat Jun 15 21:50:58 2019 +0300 @@ -262,7 +262,11 @@ TESTS_BINARIES += vecmattest fptest dzlibtest encbr1test endif -ifneq ($(EXEEXT),.exe) +ifeq ($(EXEEXT),.exe) +# Cross-building Windows binaries requires locally installed utilities +FONTCONV_BIN=fontconv +DATA2INC_BIN=data2inc +else FONTCONV_BIN=$(DMLIB)tools/fontconv DATA2INC_BIN=$(DMLIB)tools/data2inc endif