Mercurial > hg > dmlib
changeset 2254:279b69a433df
Fix Windows cross-building.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 15 Jun 2019 21:50:58 +0300 |
parents | bc16ad660e4e |
children | 92385f9b7384 |
files | Makefile.gen |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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