aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJose Dapena Paz <jdapena@igalia.com>2020-09-04 20:35:25 +0200
committerKhem Raj <raj.khem@gmail.com>2020-09-04 13:53:02 -0700
commitfe46dbec65e818b23d416de9d26126d45aaedc8a (patch)
tree7e4e506c1f4a9c9e91d9f384b289f826a1a7da29
parentbc5394b7ae0d88e3b7f614b31d1ebda0e40d3f81 (diff)
downloadmeta-openembedded-contrib-fe46dbec65e818b23d416de9d26126d45aaedc8a.tar.gz
xmlsec1: do not use system libraries for non nss
In case PACKAGECONFIG[nss] is not set, in case system includes nss or nspr, it will still try to compile using system libraries. To avoid that, this change explicitely uses --with-nss=no and --with-nspr=no so configure does not try to find those libraries if they are disabled. Signed-off-by: Jose Dapena Paz <jdapena@igalia.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-support/xmlsec1/xmlsec1_1.2.30.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/xmlsec1/xmlsec1_1.2.30.bb b/meta-oe/recipes-support/xmlsec1/xmlsec1_1.2.30.bb
index 20c7b2d371..93b0d6a67f 100644
--- a/meta-oe/recipes-support/xmlsec1/xmlsec1_1.2.30.bb
+++ b/meta-oe/recipes-support/xmlsec1/xmlsec1_1.2.30.bb
@@ -32,7 +32,7 @@ inherit autotools-brokensep ptest pkgconfig
PACKAGECONFIG ??= "gnutls libgcrypt nss openssl des"
PACKAGECONFIG[gnutls] = ",,gnutls"
PACKAGECONFIG[libgcrypt] = ",,libgcrypt"
-PACKAGECONFIG[nss] = "--with-nss=${STAGING_DIR_HOST} --with-nspr=${STAGING_DIR_HOST},,nss nspr"
+PACKAGECONFIG[nss] = "--with-nss=${STAGING_DIR_HOST} --with-nspr=${STAGING_DIR_HOST},--with-nss=no --with-nspr=no,nss nspr"
PACKAGECONFIG[openssl] = ",,openssl"
PACKAGECONFIG[des] = ",--disable-des,,"