Add FreeType-dependent functions to fontconfig.def file. (bug 15415)
authorCarlo Bramini <carlo.bramix@libero.it>
Sun, 4 May 2008 03:17:16 +0000 (20:17 -0700)
committerKeith Packard <keithp@keithp.com>
Sun, 4 May 2008 03:18:01 +0000 (20:18 -0700)
With PUBLIC_FILES no longer containing the freetype-dependent symbols, those
must be added to the fontconfig.def file build process.

src/Makefile.am

index 129d74b..b91d0e2 100644 (file)
@@ -142,10 +142,10 @@ fcftalias.h: $(top_srcdir)/src/makealias $(PUBLIC_FT_FILES)
 
 CLEANFILES = $(ALIAS_FILES)
 
-fontconfig.def: $(PUBLIC_FILES)
+fontconfig.def: $(PUBLIC_FILES) $(PUBLIC_FT_FILES)
        echo Generating $@
        (echo EXPORTS; \
-       (cat $(PUBLIC_FILES) || echo 'FcERROR ()' ) | \
+       (cat $(PUBLIC_FILES) $(PUBLIC_FT_FILES) || echo 'FcERROR ()' ) | \
        grep '^Fc[^ ]* *(' | sed -e 's/ *(.*$$//' -e 's/^/      /' | \
        sort; \
        echo LIBRARY libfontconfig-@LT_CURRENT_MINUS_AGE@.dll; \