From fe46dbec65e818b23d416de9d26126d45aaedc8a Mon Sep 17 00:00:00 2001 From: Jose Dapena Paz Date: Fri, 4 Sep 2020 20:35:25 +0200 Subject: [PATCH] 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 Signed-off-by: Khem Raj --- meta-oe/recipes-support/xmlsec1/xmlsec1_1.2.30.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,,"