mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-05 16:31:47 -09:00
Version 2.0.0 requires C++20 and GCC 11 or newer. This major release changes the API exposed to applications. However, the 0.x release series is end-of-life, so staying on version 0.19.0 is not a viable option. The build system detects GnuTLS through its headers and links to it directly. Make this detection deterministic by following the libmicrohttpd SSL option and adding the corresponding dependency. https://github.com/etr/libhttpserver/releases/tag/2.0.0 Signed-off-by: Stephan Hoffmann <sho@relinux.de> Signed-off-by: Julien Olivain <ju.o@free.fr>
18 lines
639 B
Plaintext
18 lines
639 B
Plaintext
config BR2_PACKAGE_LIBHTTPSERVER
|
|
bool "libhttpserver"
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_11 # C++20
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
select BR2_PACKAGE_LIBMICROHTTPD
|
|
help
|
|
libhttpserver is a C++ library for building high performance
|
|
RESTfuls web servers. libhttpserver is built upon
|
|
libmicrohttpd to provide a simple API for developers to
|
|
create HTTP services in C++.
|
|
|
|
https://github.com/etr/libhttpserver
|
|
|
|
comment "libhttpserver needs a toolchain w/ C++, threads, gcc >= 11"
|
|
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
|
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_11
|