aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2019-02-15 21:56:20 -0800
committerKhem Raj <raj.khem@gmail.com>2019-02-17 12:21:27 -0800
commitf3a80c3ce1487bdf15495dd02809e9df0eeecbd2 (patch)
treeab3fab5515687a0132d61833ce9864abb8e062f4
parentf357a80861377a7256cf7c0693e6f0c6e1ebe4cf (diff)
downloadmeta-openembedded-contrib-f3a80c3ce1487bdf15495dd02809e9df0eeecbd2.tar.gz
meta-openembedded-contrib-f3a80c3ce1487bdf15495dd02809e9df0eeecbd2.tar.bz2
meta-openembedded-contrib-f3a80c3ce1487bdf15495dd02809e9df0eeecbd2.zip
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>
-rw-r--r--meta-networking/recipes-irc/znc/znc_git.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-networking/recipes-irc/znc/znc_git.bb b/meta-networking/recipes-irc/znc/znc_git.bb
index 8c6979c2e2..728ef87463 100644
--- a/meta-networking/recipes-irc/znc/znc_git.bb
+++ b/meta-networking/recipes-irc/znc/znc_git.bb
@@ -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
}