pango: add host variant
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Sun, 19 Apr 2015 09:48:20 +0000 (06:48 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 19 Apr 2015 12:40:29 +0000 (14:40 +0200)
Required by librsvg which in turn is required by midori.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/pango/pango.mk

index e37e75f812922b27fac985de09023e9b95c5e22b..75e2d1bc0aedca033915f056f2d60ee9fcc1292f 100644 (file)
@@ -67,6 +67,7 @@ PANGO_CONF_ENV = \
        ac_cv_path_FREETYPE_CONFIG=$(STAGING_DIR)/usr/bin/freetype-config
 
 PANGO_CONF_OPTS = --enable-explicit-deps=no
+HOST_PANGO_CONF_OPTS = --enable-explicit-deps=no
 
 PANGO_DEPENDENCIES = \
        $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext) \
@@ -76,6 +77,13 @@ PANGO_DEPENDENCIES = \
        harfbuzz \
        fontconfig \
        freetype
+HOST_PANGO_DEPENDENCIES = \
+       host-pkgconf \
+       host-libglib2 \
+       host-cairo \
+       host-harfbuzz \
+       host-fontconfig \
+       host-freetype
 
 ifeq ($(BR2_PACKAGE_XORG7),y)
 PANGO_CONF_OPTS += \
@@ -95,3 +103,4 @@ define PANGO_INSTALL_INIT_SYSV
 endef
 
 $(eval $(autotools-package))
+$(eval $(host-autotools-package))