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 <Qi.Chen@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
This commit is contained in:
Qi.Chen@windriver.com
2016-07-19 16:22:44 +08:00
committed by Joe MacDonald
parent 3683e46e05
commit fa2c10caeb

View File

@@ -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.* \