mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-20 06:21:16 +01:00
[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:
1 parent
9909e33268
commit
cfa8cd7fb0
1 file changed
+6
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user