aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-security
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2018-01-30 17:19:58 +0100
committerArmin Kuster <akuster808@gmail.com>2018-02-06 21:16:55 +0530
commitaedbec5ea3d958c18e8cfd5dead5d37a060bfcec (patch)
tree141a0f49d23133d504911f5e0a2f7cde04fe0c10 /recipes-security
parent3963c388a350149b75f36142a06b16ac83f9f26e (diff)
downloadmeta-security-aedbec5ea3d958c18e8cfd5dead5d37a060bfcec.tar.gz
meta-security-aedbec5ea3d958c18e8cfd5dead5d37a060bfcec.tar.bz2
meta-security-aedbec5ea3d958c18e8cfd5dead5d37a060bfcec.zip
xmlsec1: Allow native builds
When used in native builds, the variable STAGING_DIR_HOST expands to the empty string. This leads 'sed' to an error because the pattern is empty. Using STAGING_DIR instead of STAGING_DIR_HOST allows to use xmlsec1 in native builds with the correct behaviour. Change-Id: I55f40ac2413863c489d4219e0080f7e4e274a6db Signed-off-by: José Bollo <jose.bollo@iot.bzh> Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'recipes-security')
-rw-r--r--recipes-security/xmlsec1/xmlsec1_1.2.24.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-security/xmlsec1/xmlsec1_1.2.24.bb b/recipes-security/xmlsec1/xmlsec1_1.2.24.bb
index 9798ce2..a34539b 100644
--- a/recipes-security/xmlsec1/xmlsec1_1.2.24.bb
+++ b/recipes-security/xmlsec1/xmlsec1_1.2.24.bb
@@ -45,7 +45,7 @@ do_compile_ptest () {
}
do_install_append() {
- sed -i -e "s@${STAGING_DIR_HOST}@@g" ${D}${bindir}/xmlsec1-config
+ sed -i -e "s@${STAGING_DIR}@@g" ${D}${bindir}/xmlsec1-config
}
do_install_ptest () {