From b41ae46d1d45589bd6a9d04452e14fb26f323b4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Mon, 25 Jul 2011 22:24:27 +0100 Subject: [PATCH] add fontconfig and freetype to get configured flags --- RepositoryExternal.mk | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk index 6b1007e8189e..ee65d9eabf81 100644 --- a/RepositoryExternal.mk +++ b/RepositoryExternal.mk @@ -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)