Files
buildroot/package/libhttpserver/libhttpserver.mk
Stephan Hoffmann f18c4dbdce package/libhttpserver: bump to version 2.0.0
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>
2026-09-22 18:47:12 +02:00

25 lines
741 B
Makefile

################################################################################
#
# libhttpserver
#
################################################################################
LIBHTTPSERVER_VERSION = 2.0.0
LIBHTTPSERVER_SITE = $(call github,etr,libhttpserver,$(LIBHTTPSERVER_VERSION))
LIBHTTPSERVER_LICENSE = LGPL-2.1+
LIBHTTPSERVER_LICENSE_FILES = COPYING.LESSER
LIBHTTPSERVER_INSTALL_STAGING = YES
LIBHTTPSERVER_CONF_OPTS = \
--disable-examples \
--enable-same-directory-build
LIBHTTPSERVER_AUTORECONF = YES
LIBHTTPSERVER_DEPENDENCIES = libmicrohttpd
ifeq ($(BR2_PACKAGE_LIBMICROHTTPD_SSL),y)
LIBHTTPSERVER_DEPENDENCIES += gnutls
else
LIBHTTPSERVER_CONF_ENV += ac_cv_header_gnutls_gnutls_h=no
endif
$(eval $(autotools-package))