From fa2c10caebb42b3bcd83668129e65206bc443079 Mon Sep 17 00:00:00 2001 From: "Qi.Chen@windriver.com" Date: Tue, 19 Jul 2016 16:22:44 +0800 Subject: curlpp: fix QA issue for cav-octeon3 Modify the curlpp.pc file in do_install_append to avoid the following QA error. ERROR: QA Issue: curlpp.pc failed sanity test (tmpdir) The problem occurs only for tunes which set baselib to 'lib32', and in OE, we only have two tunes which set such value. BASE_LIB_tune-octeon2 = "lib32" BASE_LIB_tune-octeon3 = "lib32" Signed-off-by: Chen Qi Signed-off-by: Martin Jansa Signed-off-by: Joe MacDonald --- meta-networking/recipes-support/curlpp/curlpp_0.7.3.bb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'meta-networking/recipes-support/curlpp') diff --git a/meta-networking/recipes-support/curlpp/curlpp_0.7.3.bb b/meta-networking/recipes-support/curlpp/curlpp_0.7.3.bb index 78b943247d..bbba576caa 100644 --- a/meta-networking/recipes-support/curlpp/curlpp_0.7.3.bb +++ b/meta-networking/recipes-support/curlpp/curlpp_0.7.3.bb @@ -20,6 +20,10 @@ inherit autotools-brokensep pkgconfig binconfig # deprecated auto_ptr. For now, ignore the issue. CXXFLAGS += "-Wno-error=deprecated-declarations" +do_install_append () { + sed -i 's,${STAGING_DIR_TARGET},,g' ${D}${libdir}/pkgconfig/curlpp.pc +} + PACKAGES =+ "libcurlpp libcurlpp-dev libcurlpp-staticdev" FILES_lib${BPN} = "${libdir}/lib*.so.* \ -- cgit 1.2.3-korg