[autotools] Fix make distcheck
The test-draw.c can now optionally uses hb-ft, but automake file was not passing FreeType cflags or libs to it.
This commit is contained in:
parent
9909e33268
commit
cfa8cd7fb0
|
@ -81,6 +81,9 @@ TEST_PROGS = \
|
|||
test-version \
|
||||
$(NULL)
|
||||
|
||||
test_draw_CPPFLAGS = $(AM_CPPFLAGS)
|
||||
test_draw_LDADD = $(LDADD)
|
||||
|
||||
test_subset_LDADD = $(LDADD) $(top_builddir)/src/libharfbuzz-subset.la
|
||||
test_subset_cmap_LDADD = $(LDADD) $(top_builddir)/src/libharfbuzz-subset.la
|
||||
test_subset_drop_tables_LDADD = $(LDADD) $(top_builddir)/src/libharfbuzz-subset.la
|
||||
|
@ -123,6 +126,9 @@ endif
|
|||
endif
|
||||
|
||||
if HAVE_FREETYPE
|
||||
test_draw_CPPFLAGS += $(FREETYPE_CFLAGS)
|
||||
test_draw_LDADD += $(FREETYPE_LIBS)
|
||||
|
||||
TEST_PROGS += \
|
||||
test-ot-math \
|
||||
$(NULL)
|
||||
|
|
Loading…
Reference in New Issue