Files
buildroot/package/libxmlsec1/Config.in
Thomas Petazzoni d1473993d1 package/libxmlsec1: fix Config.in comment dependencies
Commit fef9cad1fe ("package/libxmlsec1:
bump version to 1.3.12") has introduced a gcc 7.x and atomic
dependency, but the Config.in comment dependencies are not correct:

+comment "libxmlsec1 needs a toolchain w/ gcc >= 7"
+       depends on  !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || !BR2_TOOLCHAIN_HAS_ATOMIC

Indeed, we treat BR2_TOOLCHAIN_HAS_ATOMIC like an architecture
dependency in Buildroot, so it should be:

+comment "libxmlsec1 needs a toolchain w/ gcc >= 7"
+	depends on BR2_TOOLCHAIN_HAS_ATOMIC
+       depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_7

so that the comment does NOT show up when BR2_TOOLCHAIN_HAS_ATOMIC is
false.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2026-08-09 13:02:10 +02:00

19 lines
585 B
Plaintext

config BR2_PACKAGE_LIBXMLSEC1
bool "libxmlsec1"
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 #-Wformat-overflow
depends on BR2_TOOLCHAIN_HAS_ATOMIC
select BR2_PACKAGE_OPENSSL
select BR2_PACKAGE_LIBXML2
help
XMLSec library provides C based implementation for major XML
Security standards:
- XML Signature Syntax and Processing
- XML Encryption Syntax and Processing
https://www.aleksey.com/xmlsec/
https://github.com/lsh123/xmlsec
comment "libxmlsec1 needs a toolchain w/ gcc >= 7"
depends on BR2_TOOLCHAIN_HAS_ATOMIC
depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_7