diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2012-03-04 20:34:02 +0100 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2012-03-04 20:34:22 +0100 |
commit | b38f41736e33df75a802828dfc5f6673f6419e8b (patch) | |
tree | abbaf72ff6434668b09464bdc4190cdcdd035543 /package/glib-networking/glib-networking.mk | |
parent | 9ab01a85d2efc8d2037a45ccca781df75a9c1214 (diff) |
glib-networking: fix build without gnutls
configure errors out when it doesn't find gnutls unless explicitly
disabled.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/glib-networking/glib-networking.mk')
-rw-r--r-- | package/glib-networking/glib-networking.mk | 4 |
1 files changed, 3 insertions, 1 deletions
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)) |