mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-25 19:40:35 -09:00
package/libxmlsec1: drop mandatory libxslt dependency
Commit 7eeb574f0e introduced the
libxmlsec1 making libxslt a mandatory dependency, which it isn't.
This commit therefore make libxslt an optional dependency of the
target libxmlsec1 package, and drops the dependency entirely for the
host package.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
committed by
Julien Olivain
parent
59ed1137e9
commit
431950769d
@@ -2,7 +2,6 @@ config BR2_PACKAGE_LIBXMLSEC1
|
||||
bool "libxmlsec1"
|
||||
select BR2_PACKAGE_OPENSSL
|
||||
select BR2_PACKAGE_LIBXML2
|
||||
select BR2_PACKAGE_LIBXSLT
|
||||
help
|
||||
XMLSec library provides C based implementation for major XML
|
||||
Security standards:
|
||||
|
||||
@@ -10,8 +10,8 @@ LIBXMLSEC1_SITE = https://github.com/lsh123/xmlsec/releases/download/$(LIBXMLSEC
|
||||
LIBXMLSEC1_LICENSE = MIT
|
||||
LIBXMLSEC1_LICENSE_FILES = Copyright
|
||||
LIBXMLSEC1_INSTALL_STAGING = YES
|
||||
LIBXMLSEC1_DEPENDENCIES = libxml2 libxslt openssl
|
||||
HOST_LIBXMLSEC1_DEPENDENCIES = host-libxml2 host-libxslt host-openssl
|
||||
LIBXMLSEC1_DEPENDENCIES = libxml2 openssl
|
||||
HOST_LIBXMLSEC1_DEPENDENCIES = host-libxml2 host-openssl
|
||||
LIBXMLSEC1_AUTORECONF = YES
|
||||
|
||||
LIBXMLSEC1_CONF_OPTS = \
|
||||
@@ -26,7 +26,15 @@ HOST_LIBXMLSEC1_CONF_OPTS = \
|
||||
--with-openssl \
|
||||
--without-gnutls \
|
||||
--without-gcrypt \
|
||||
--without-nss
|
||||
--without-nss \
|
||||
--without-libxslt
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBXSLT),y)
|
||||
LIBXMLSEC1_DEPENDENCIES += libxslt
|
||||
LIBXMLSEC1_CONF_OPTS += --with-libxslt
|
||||
else
|
||||
LIBXMLSEC1_CONF_OPTS += --without-libxslt
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
$(eval $(host-autotools-package))
|
||||
|
||||
Reference in New Issue
Block a user