e02514ad7a
glib-networking raises the following build failure with libressl: ../tls/openssl/gtlsconnection-openssl.c: In function 'g_tls_connection_openssl_handshake_thread_request_rehandshake': ../tls/openssl/gtlsconnection-openssl.c:419:27: error: 'TLS1_3_VERSION' undeclared (first use in this function); did you mean 'TLS1_2_VERSION'? 419 | if (SSL_version(ssl) >= TLS1_3_VERSION) | ^~~~~~~~~~~~~~ | TLS1_2_VERSION ../tls/openssl/gtlsconnection-openssl.c:419:27: note: each undeclared identifier is reported only once for each function it appears in ../tls/openssl/gtlsconnection-openssl.c:420:11: error: implicit declaration of function 'SSL_key_update' [-Werror=implicit-function-declaration] 420 | ret = SSL_key_update (ssl, SSL_KEY_UPDATE_REQUESTED); | ^~~~~~~~~~~~~~ Since libressl doesn't (intend to) support post-1.0.2 openssl compatibility, this is only going to get worse. Therefore, require libopenssl. Fixes: - http://autobuild.buildroot.org/results/b8dea5704903c84858c7a339a73ecb713ac2791c Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
42 lines
1.2 KiB
Makefile
42 lines
1.2 KiB
Makefile
################################################################################
|
|
#
|
|
# glib-networking
|
|
#
|
|
################################################################################
|
|
|
|
GLIB_NETWORKING_VERSION_MAJOR = 2.70
|
|
GLIB_NETWORKING_VERSION = $(GLIB_NETWORKING_VERSION_MAJOR).1
|
|
GLIB_NETWORKING_SITE = http://ftp.gnome.org/pub/gnome/sources/glib-networking/$(GLIB_NETWORKING_VERSION_MAJOR)
|
|
GLIB_NETWORKING_SOURCE = glib-networking-$(GLIB_NETWORKING_VERSION).tar.xz
|
|
GLIB_NETWORKING_INSTALL_STAGING = YES
|
|
GLIB_NETWORKING_DEPENDENCIES = \
|
|
$(TARGET_NLS_DEPENDENCIES) \
|
|
host-pkgconf \
|
|
libglib2
|
|
|
|
GLIB_NETWORKING_CONF_OPTS = \
|
|
-Dlibproxy=disabled \
|
|
-Dgnome_proxy=disabled
|
|
|
|
GLIB_NETWORKING_LICENSE = LGPL-2.0+
|
|
GLIB_NETWORKING_LICENSE_FILES = COPYING
|
|
GLIB_NETWORKING_CPE_ID_VENDOR = gnome
|
|
GLIB_NETWORKING_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) \
|
|
GIO_MODULE_DIR=/usr/lib/gio/modules install
|
|
|
|
ifeq ($(BR2_PACKAGE_GNUTLS),y)
|
|
GLIB_NETWORKING_DEPENDENCIES += gnutls
|
|
GLIB_NETWORKING_CONF_OPTS += -Dgnutls=enabled
|
|
else
|
|
GLIB_NETWORKING_CONF_OPTS += -Dgnutls=disabled
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBOPENSSL),y)
|
|
GLIB_NETWORKING_DEPENDENCIES += openssl
|
|
GLIB_NETWORKING_CONF_OPTS += -Dopenssl=enabled
|
|
else
|
|
GLIB_NETWORKING_CONF_OPTS += -Dopenssl=disabled
|
|
endif
|
|
|
|
$(eval $(meson-package))
|