mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
znc: Strip out DEBUG_PREFIX_MAP options and --sysroot from znc.pc
This fixes issues e.g. ERROR: znc-1.7.1-r0 do_populate_sysroot: QA Issue: znc.pc failed sanity test (tmpdir) in path /mnt/a/yoe/build/tmp/work/aarch64-yoe-linux/znc/1.7.1-r0/sysroot-destdir/usr/lib/pkgconfig [pkgconfig] ERROR: znc-1.7.1-r0 do_populate_sysroot: QA staging was broken by the package built above Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
f357a80861
commit
f3a80c3ce1
|
|
@ -30,5 +30,5 @@ do_configure_prepend() {
|
|||
}
|
||||
|
||||
do_install_append() {
|
||||
sed -i 's/-fdebug-prefix-map[^ ]*//g; s#${STAGING_DIR_TARGET}##g' ${D}${libdir}/pkgconfig/*.pc
|
||||
sed -i -e 's|${DEBUG_PREFIX_MAP}||g; s|--sysroot=${STAGING_DIR_TARGET}||g' ${D}${libdir}/pkgconfig/*.pc
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user