Fix autotools's harfbuzz.cc build

How this works? gen-harfbuzzcc.py operates at its own source path (see its 7th line)
and that is reliable when used both on meson and autotools.

Just like 19ecabed, weirdly this didn't come up sooner, guess it has something
to do with timestamps. Fortunately whole harfbuzz.cc just doesn't matter for
packagers but we can tag a release only for this if needed.
This commit is contained in:
Ebrahim Byagowi 2020-06-23 20:49:43 +04:30
parent 95b1081be4
commit 76ba619daa

View File

@ -277,8 +277,7 @@ $(srcdir)/%.hh: $(srcdir)/%.rl
harfbuzz.cc: Makefile.sources harfbuzz.cc: Makefile.sources
$(AM_V_GEN) \ $(AM_V_GEN) \
$(srcdir)/gen-harfbuzzcc.py \ $(srcdir)/gen-harfbuzzcc.py harfbuzz.cc \
$(srcdir)/harfbuzz.cc \
$(HB_BASE_sources) \ $(HB_BASE_sources) \
$(HB_GLIB_sources) \ $(HB_GLIB_sources) \
$(HB_FT_sources) \ $(HB_FT_sources) \