libical: Work around hardcoded paths in pkgconfig file

For now, work around the hardcoded path in the pkgconfig file.
Issue filed upstream as:

https://github.com/libical/libical/issues/227

This raises questions about whether some sanity tests are running.
Those issues will be addressed in a separate patch.

(From OE-Core rev: 1b2e1eb6f08b6f95cf555d7f6bc6e4de2113aaed)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2016-02-04 13:07:53 +00:00
parent a131b6e94a
commit b33e440cc6

View File

@@ -18,3 +18,10 @@ UPSTREAM_CHECK_URI = "https://github.com/libical/libical/releases"
inherit cmake
FILES_${PN}-dev += "${libdir}/cmake/*"
#
# Turn specific library paths in the pkgconfig file into standard library entries
#
do_install_append () {
sed -i -e "s#${STAGING_LIBDIR}/lib\([a-z0-9]*\)\.so#-l\1#g" ${D}${libdir}/pkgconfig/libical.pc
}