]> git.wh0rd.org - fontconfig.git/commitdiff
Fix Win32 build error: install tries to run fc-cache locally (bug 15928).
authorGlen Low <glen.low@pixelglow.com>
Sat, 24 May 2008 22:59:35 +0000 (15:59 -0700)
committerKeith Packard <keithp@keithp.com>
Sat, 24 May 2008 22:59:35 +0000 (15:59 -0700)
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)

Makefile.am

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