blob: 137800cedbd397414bbed16efdee65eace9e5285 [file] [log] [blame]
#############################################################
#
# pkgconfig
#
#############################################################
PKG_CONFIG_VERSION = 0.25
PKG_CONFIG_SOURCE = pkg-config-$(PKG_CONFIG_VERSION).tar.gz
PKG_CONFIG_SITE = http://pkgconfig.freedesktop.org/releases/
PKG_CONFIG_DEPENDENCIES = libglib2
PKG_CONFIG_CONF_OPT = --with-installed-glib
HOST_PKG_CONFIG_CONF_OPT = \
--with-pc-path="$(STAGING_DIR)/usr/lib/pkgconfig:$(STAGING_DIR)/usr/share/pkgconfig" \
--with-sysroot="$(STAGING_DIR)" \
--disable-static
HOST_PKG_CONFIG_AUTORECONF = YES
HOST_PKG_CONFIG_DEPENDENCIES =
$(eval $(call AUTOTARGETS))
$(eval $(call AUTOTARGETS,host))
PKG_CONFIG_HOST_BINARY:=$(HOST_DIR)/usr/bin/pkg-config