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>
This commit is contained in:
Jose Dapena Paz 2020-09-04 20:35:25 +02:00 committed by Khem Raj
parent bc5394b7ae
commit fe46dbec65

View File

@ -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,,"