7d211f6701
Add dynamic library dependency to BR2_PACKAGE_WOLFSSL_ALL to fix the following static build failure with ibrdtnd, a "wolfssl all"-enabled libcurl and openssl: /nvmedata/autobuild/instance-5/output-1/per-package/ibrdtnd/host/opt/ext-toolchain/bin/../lib/gcc/sh4aeb-buildroot-linux-musl/11.2.0/../../../../sh4aeb-buildroot-linux-musl/bin/ld: /nvmedata/autobuild/instance-5/output-1/per-package/ibrdtnd/host/bin/../sh4aeb-buildroot-linux-musl/sysroot/usr/lib/libssl.a(ssl_ciph.o): in function `SSL_COMP_get_compression_methods': ssl_ciph.c:(.text+0x25ac): multiple definition of `SSL_COMP_get_compression_methods'; /nvmedata/autobuild/instance-5/output-1/per-package/ibrdtnd/host/sh4aeb-buildroot-linux-musl/sysroot/usr/lib/libwolfssl.a(libwolfssl_la-ssl.o):ssl.c:(.text+0x1ca60): first defined here Fixes: - http://autobuild.buildroot.org/results/be1d327ed4c91a6280a88906a399dfe146f0b64e Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
32 lines
834 B
Plaintext
32 lines
834 B
Plaintext
config BR2_PACKAGE_WOLFSSL
|
|
bool "wolfssl"
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
help
|
|
The wolfSSL embedded SSL library (formerly CyaSSL) is a
|
|
lightweight, portable, C-language-based SSL/TLS library
|
|
targeted at IoT, embedded, and RTOS environments primarily
|
|
because of its size, speed, and feature set.
|
|
|
|
https://www.wolfssl.com/
|
|
|
|
if BR2_PACKAGE_WOLFSSL
|
|
|
|
config BR2_PACKAGE_WOLFSSL_ALL
|
|
bool "enable all features, except SSLv3"
|
|
depends on !BR2_STATIC_LIBS
|
|
help
|
|
Enable all wolfSSL features, except SSL version 3.0 support.
|
|
|
|
comment "all features, except SSLv3 needs a toolchain w/ dynamic library"
|
|
depends on BR2_STATIC_LIBS
|
|
|
|
config BR2_PACKAGE_WOLFSSL_SSLV3
|
|
bool "enable SSLv3"
|
|
help
|
|
Enable SSL version 3.0 support.
|
|
|
|
endif
|
|
|
|
comment "wolfssl needs a toolchain w/ threads"
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS
|