mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-04-02 02:49:12 +00:00
xmlsec1: avoid hardcoded ${RECIPE_SYSROOT} in xmlsec1-gnutls.pc
Fix do_package_qa error by removing ${RECIPE_SYSROOT} from the installed xmlsec1-gnutls.pc file.
This ensures the generated .pc file does not leak build-time paths, complying with QA checks.
Fixes QA error:
ERROR: xmlsec1-1.3.7-r0.wr2500 do_package_qa: QA Issue: File /usr/lib/pkgconfig/xmlsec1-gnutls.pc in package xmlsec1-dev contains reference to TMPDIR [buildpaths]
Signed-off-by: Jiaying Song <jiaying.song.cn@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
9fd087d298
commit
cce20b5124
@ -54,8 +54,11 @@ do_compile_ptest () {
|
||||
}
|
||||
|
||||
do_install:append() {
|
||||
for i in ${bindir}/xmlsec1-config ${libdir}/xmlsec1Conf.sh \
|
||||
${libdir}/pkgconfig/xmlsec1-openssl.pc; do
|
||||
for i in \
|
||||
${bindir}/xmlsec1-config \
|
||||
${libdir}/xmlsec1Conf.sh \
|
||||
${libdir}/pkgconfig/xmlsec1-openssl.pc \
|
||||
${libdir}/pkgconfig/xmlsec1-gnutls.pc; do
|
||||
sed -i -e "s@${RECIPE_SYSROOT}@@g" ${D}$i
|
||||
done
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user