Message ID | 20250708105219.478633-1-martin.jansa@gmail.com |
---|---|
State | New |
Headers | show |
Series | [meta-oe,walnascar] xmlsec1: fix build with gnutls or openssl PACKAGECONFIG not enabled | expand |
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 }