Skip to contentSkip to conversation

xmlsec1: do not use system libraries for non nss

PATCH Superseded [email protected] 1 participant 1 message Sep 4, 2020

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 meta-oe/recipes-support/xmlsec1/xmlsec1_1.2.30.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/xmlsec1/xmlsec1_1.2.30.bb +1 -1
index 20c7b2d37..93b0d6a67 100644
@@ -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,,"
 
Signature · 1 line
2.25.1