From 8f6d4090e2df568c498b51f6dfbe92e0942a1e73 Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Tue, 8 Jul 2025 12:51:54 +0200 Subject: 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: Khem Raj --- 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 } -- cgit v1.2.3-54-g00ecf