mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-08 08:30:47 -09:00
Added upstream patch to fix build with gcc-15.x. Fixes: https://autobuild.buildroot.net/results/6e1/6e176c77a6cb7508b0502c77d78df78ae4602ef9/ Signed-off-by: Bernd Kuhls <bernd@kuhls.net> Signed-off-by: Julien Olivain <ju.o@free.fr>
40 lines
1.1 KiB
Makefile
40 lines
1.1 KiB
Makefile
################################################################################
|
|
#
|
|
# libstrophe
|
|
#
|
|
################################################################################
|
|
|
|
LIBSTROPHE_VERSION = 0.14.0
|
|
LIBSTROPHE_SOURCE = libstrophe-$(LIBSTROPHE_VERSION).tar.xz
|
|
LIBSTROPHE_SITE = https://github.com/strophe/libstrophe/releases/download/$(LIBSTROPHE_VERSION)
|
|
LIBSTROPHE_DEPENDENCIES = host-pkgconf
|
|
LIBSTROPHE_LICENSE = MIT or GPL-3.0
|
|
LIBSTROPHE_LICENSE_FILES = MIT-LICENSE.txt GPL-LICENSE.txt
|
|
LIBSTROPHE_INSTALL_STAGING = YES
|
|
LIBSTROPHE_CONF_OPTS = --disable-examples
|
|
|
|
ifeq ($(BR2_PACKAGE_C_ARES),y)
|
|
LIBSTROPHE_CONF_OPTS += --enable-cares
|
|
LIBSTROPHE_DEPENDENCIES += c-ares
|
|
else
|
|
LIBSTROPHE_CONF_OPTS += --disable-cares
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_EXPAT),y)
|
|
LIBSTROPHE_CONF_OPTS += --without-libxml2
|
|
LIBSTROPHE_DEPENDENCIES += expat
|
|
else
|
|
LIBSTROPHE_CONF_OPTS += --with-libxml2
|
|
LIBSTROPHE_DEPENDENCIES += libxml2
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
LIBSTROPHE_CONF_OPTS += --with-tls --without-gnutls
|
|
LIBSTROPHE_DEPENDENCIES += openssl
|
|
else
|
|
LIBSTROPHE_CONF_OPTS += --with-gnutls --without-tls
|
|
LIBSTROPHE_DEPENDENCIES += gnutls
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|