Fix Win32 build error: install tries to run fc-cache locally (bug 15928).

When building in Win32 e.g. with MinGW, the install tries to run fc-cache
locally but the required DLL's are not in the path. I've included a patch for
this to fix Makefile.in to run fc-cache from bindir but obviously this should
be applied to Makefile.am instead.

(the second part of this patch was already in the tree)
This commit is contained in:
Glen Low 2008-05-24 15:59:35 -07:00 committed by Keith Packard
parent 557f87f733
commit c6228a34b0
1 changed files with 2 additions and 2 deletions

View File

@ -95,8 +95,8 @@ install-data-local:
$(INSTALL_DATA) fonts.conf $(DESTDIR)$(configdir)/fonts.conf; \ $(INSTALL_DATA) fonts.conf $(DESTDIR)$(configdir)/fonts.conf; \
fi; fi fi; fi
@(if $(RUN_FC_CACHE_TEST); then \ @(if $(RUN_FC_CACHE_TEST); then \
echo " fc-cache/fc-cache -s -f -v"; \ echo " $(bindir)/fc-cache/fc-cache -s -f -v"; \
fc-cache/fc-cache -s -f -v; \ $(bindir)/fc-cache/fc-cache -s -f -v; \
else \ else \
echo "***"; \ echo "***"; \
echo "*** Warning: fonts.cache not built"; \ echo "*** Warning: fonts.cache not built"; \