From 832d2ca96c0be14353db9313e87d6d0637e07583 Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Tue, 8 Jul 2025 12:52:19 +0200 Subject: [PATCH] xmlsec1: fix build with gnutls or openssl PACKAGECONFIG not enabled the .pc files might not be installed based on the PACKAGECONFIG value fixes: https://git.openembedded.org/meta-openembedded/commit/?id=cce20b5124e28ee55adf03fe062084f38d065580 Signed-off-by: Martin Jansa Signed-off-by: Armin Kuster --- meta-oe/recipes-support/xmlsec1/xmlsec1_1.3.7.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-oe/recipes-support/xmlsec1/xmlsec1_1.3.7.bb b/meta-oe/recipes-support/xmlsec1/xmlsec1_1.3.7.bb index 0f4ae205b1..3e97bde86c 100644 --- a/meta-oe/recipes-support/xmlsec1/xmlsec1_1.3.7.bb +++ b/meta-oe/recipes-support/xmlsec1/xmlsec1_1.3.7.bb @@ -59,7 +59,7 @@ do_install:append() { ${libdir}/xmlsec1Conf.sh \ ${libdir}/pkgconfig/xmlsec1-openssl.pc \ ${libdir}/pkgconfig/xmlsec1-gnutls.pc; do - sed -i -e "s@${RECIPE_SYSROOT}@@g" ${D}$i + [ -f ${D}$i ] && sed -i -e "s@${RECIPE_SYSROOT}@@g" ${D}$i || true done }