From b38f41736e33df75a802828dfc5f6673f6419e8b Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Sun, 4 Mar 2012 20:34:02 +0100 Subject: glib-networking: fix build without gnutls configure errors out when it doesn't find gnutls unless explicitly disabled. Signed-off-by: Peter Korsgaard --- package/glib-networking/glib-networking.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'package') diff --git a/package/glib-networking/glib-networking.mk b/package/glib-networking/glib-networking.mk index b1ad62110..47415d85d 100644 --- a/package/glib-networking/glib-networking.mk +++ b/package/glib-networking/glib-networking.mk @@ -16,7 +16,9 @@ GLIB_NETWORKING_DEPENDENCIES = $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext libin ifeq ($(BR2_PACKAGE_GNUTLS),y) GLIB_NETWORKING_DEPENDENCIES += gnutls -GLIB_NETWORKING_CONF_OPT = --with-libgcrypt-prefix=$(STAGING_DIR)/usr +GLIB_NETWORKING_CONF_OPT += --with-libgcrypt-prefix=$(STAGING_DIR)/usr +else +GLIB_NETWORKING_CONF_OPT += --without-gnutls endif $(eval $(call AUTOTARGETS)) -- cgit v1.2.3