aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-security
diff options
context:
space:
mode:
authorWenzong Fan <wenzong.fan@windriver.com>2018-04-18 03:44:57 -0400
committerArmin Kuster <akuster808@gmail.com>2018-05-07 15:19:06 -0700
commit7a503cbfa2b64d60e547114b860a5320aeb721a2 (patch)
tree40af9724629be75ef857fffd4ba6b1f400feca53 /recipes-security
parentd01d18ad95cce293be44bb791fb1c29315293149 (diff)
downloadmeta-security-7a503cbfa2b64d60e547114b860a5320aeb721a2.tar.gz
meta-security-7a503cbfa2b64d60e547114b860a5320aeb721a2.tar.bz2
meta-security-7a503cbfa2b64d60e547114b860a5320aeb721a2.zip
xmlsec1: remove host paths from target files
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'recipes-security')
-rw-r--r--recipes-security/xmlsec1/xmlsec1_1.2.25.bb5
1 files changed, 4 insertions, 1 deletions
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 () {