From 7a503cbfa2b64d60e547114b860a5320aeb721a2 Mon Sep 17 00:00:00 2001 From: Wenzong Fan Date: Wed, 18 Apr 2018 03:44:57 -0400 Subject: xmlsec1: remove host paths from target files Signed-off-by: Wenzong Fan Signed-off-by: Armin Kuster --- recipes-security/xmlsec1/xmlsec1_1.2.25.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/recipes-security/xmlsec1/xmlsec1_1.2.25.bb b/recipes-security/xmlsec1/xmlsec1_1.2.25.bb index dbb6f7d..341ca08 100644 --- a/recipes-security/xmlsec1/xmlsec1_1.2.25.bb +++ b/recipes-security/xmlsec1/xmlsec1_1.2.25.bb @@ -46,7 +46,10 @@ do_compile_ptest () { } do_install_append() { - sed -i -e "s@${STAGING_DIR}@@g" ${D}${bindir}/xmlsec1-config + for i in ${bindir}/xmlsec1-config ${libdir}/xmlsec1Conf.sh \ + ${libdir}/pkgconfig/xmlsec1-openssl.pc; do + sed -i -e "s@${RECIPE_SYSROOT}@@g" ${D}$i + done } do_install_ptest () { -- cgit v1.2.3-54-g00ecf