glib-networking: fix build failure with gnutls3
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
2007e3b1ef
commit
484652cbd8
@ -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 <gcrypt.h>::' $(@D)/tls/gnutls/gtlsbackend-gnutls.c
|
||||
endef
|
||||
|
||||
GLIB_NETWORKING_POST_EXTRACT_HOOKS += GLIB_NETWORKING_NO_LIBGCRYPT
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
Loading…
Reference in New Issue
Block a user