xmlsec1: fix build with gnutls or openssl PACKAGECONFIG not enabled
PATCH 1/1 xmlsec1: fix build with gnutls or openssl PACKAGECONFIG not enabled
From: Martin Jansa <[email protected]>
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 <[email protected]>
--- meta-oe/recipes-support/xmlsec1/xmlsec1_1.3.7.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/xmlsec1/xmlsec1_1.3.7.bb +1 -1
@@ -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 }