From: Gustavo Zacarias Date: Fri, 28 Dec 2012 09:47:21 +0000 (+0000) Subject: glib-networking: fix build failure with gnutls3 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=484652cbd8d4a647f7833b2e032d0d37147e8424;p=buildroot.git glib-networking: fix build failure with gnutls3 Signed-off-by: Gustavo Zacarias Signed-off-by: Peter Korsgaard --- diff --git a/package/glib-networking/glib-networking.mk b/package/glib-networking/glib-networking.mk index b1eec4d07c..e8d71e5480 100644 --- a/package/glib-networking/glib-networking.mk +++ b/package/glib-networking/glib-networking.mk @@ -25,4 +25,11 @@ else GLIB_NETWORKING_CONF_OPT += --without-gnutls endif +# gnutls 3.x+ doesn't use libgcrypt, it uses nettle/hogweed +define GLIB_NETWORKING_NO_LIBGCRYPT + $(SED) 's:#include ::' $(@D)/tls/gnutls/gtlsbackend-gnutls.c +endef + +GLIB_NETWORKING_POST_EXTRACT_HOOKS += GLIB_NETWORKING_NO_LIBGCRYPT + $(eval $(autotools-package))