mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 14:16:31 +00:00
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
|
GLIB_NETWORKING_CONF_OPT += --without-gnutls
|
||||||
endif
|
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))
|
$(eval $(autotools-package))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user