add fontconfig and freetype to get configured flags

This commit is contained in:
Caolán McNamara 2011-07-25 22:24:27 +01:00
parent 6bccd20b2d
commit b41ae46d1d

View file

@ -302,6 +302,23 @@ endef
endif # SYSTEM_CAIRO
define gb_LinkTarget__use_freetype
$(call gb_LinkTarget_set_include,$(1),\
$$(INCLUDE) \
$(FREETYPE_CFLAGS) \
)
$(call gb_LinkTarget_add_libs,$(1),$(FREETYPE_LIBS))
endef
define gb_LinkTarget__use_fontconfig
$(call gb_LinkTarget_set_include,$(1),\
$$(INCLUDE) \
$(FONTCONFIG_CFLAGS) \
)
$(call gb_LinkTarget_add_libs,$(1),$(FONTCONFIG_LIBS))
endef
ifeq ($(SYSTEM_GRAPHITE),YES)