mirror of
https://git.yoctoproject.org/meta-security
synced 2026-04-20 11:29:37 +00:00
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>
This commit is contained in:
@@ -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 () {
|
||||
|
||||
Reference in New Issue
Block a user