67cb7d8d09
Fix the following wolfssl build failure raised at least since bump to
version 7.4.0 in commit 6b5907bf65
:
/home/autobuild/autobuild/instance-4/output-1/build/rtty-8.1.0/src/ssl/openssl.c: In function 'ssl_last_error_string':
/home/autobuild/autobuild/instance-4/output-1/build/rtty-8.1.0/src/ssl/openssl.c:143:24: error: implicit declaration of function 'ERR_peek_error_line_data'; did you mean 'wolfSSL_ERR_get_error_line_data'? [-Werror=implicit-function-declaration]
143 | ssl_err_code = ERR_peek_error_line_data(&file, &line, &data, &flags);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| wolfSSL_ERR_get_error_line_data
Fixes:
- http://autobuild.buildroot.org/results/9db9f1dcc6760de4b78771bb79f109c4efd06c36
- http://autobuild.buildroot.org/results/16422af9469de114e552124542508c3b18ea8f19
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[yann.morin.1998@free.fr: don't force wolfssl-all]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
39 lines
934 B
Makefile
39 lines
934 B
Makefile
################################################################################
|
|
#
|
|
# rtty
|
|
#
|
|
################################################################################
|
|
|
|
RTTY_VERSION = 8.1.0
|
|
RTTY_SITE = https://github.com/zhaojh329/rtty/releases/download/v$(RTTY_VERSION)
|
|
RTTY_LICENSE = MIT
|
|
RTTY_LICENSE_FILES = LICENSE
|
|
RTTY_DEPENDENCIES = libev
|
|
|
|
ifeq ($(BR2_PACKAGE_MBEDTLS),y)
|
|
RTTY_DEPENDENCIES += mbedtls
|
|
RTTY_CONF_OPTS += \
|
|
-DSSL_SUPPORT=ON \
|
|
-DUSE_MBEDTLS=ON \
|
|
-DUSE_OPENSSL=OFF \
|
|
-DUSE_WOLFSSL=OFF
|
|
else ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
RTTY_DEPENDENCIES += host-pkgconf openssl
|
|
RTTY_CONF_OPTS += \
|
|
-DSSL_SUPPORT=ON \
|
|
-DUSE_MBEDTLS=OFF \
|
|
-DUSE_OPENSSL=ON \
|
|
-DUSE_WOLFSSL=OFF
|
|
else ifeq ($(BR2_PACKAGE_WOLFSSL_ALL),y)
|
|
RTTY_DEPENDENCIES += wolfssl
|
|
RTTY_CONF_OPTS += \
|
|
-DSSL_SUPPORT=ON \
|
|
-DUSE_MBEDTLS=OFF \
|
|
-DUSE_OPENSSL=OFF \
|
|
-DUSE_WOLFSSL=ON
|
|
else
|
|
RTTY_CONF_OPTS += -DSSL_SUPPORT=OFF
|
|
endif
|
|
|
|
$(eval $(cmake-package))
|