[Makefile] Rebuild .def files if config changed

I was getting check-symbols failure because my previous build was
without CoreText, and after reconfiguring with CoreText, the old
harfbuzz.defs file was not being regenerated.
This commit is contained in:
Behdad Esfahbod 2021-03-02 16:26:41 -07:00
parent d351bbf0fb
commit 5efa04c890
1 changed files with 1 additions and 0 deletions

View File

@ -235,6 +235,7 @@ DEF_FILES += harfbuzz-gobject.def
endif
check: $(DEF_FILES) # For check-symbols.sh
CLEANFILES += $(DEF_FILES)
harfbuzz.def: $(top_builddir)/config.status
harfbuzz.def: $(HBHEADERS)
$(AM_V_GEN) $(srcdir)/gen-def.py "$@" $^
harfbuzz-subset.def: $(HB_SUBSET_headers)