summaryrefslogtreecommitdiff
path: root/meta/recipes-support
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-04 13:07:53 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-04 13:09:51 +0000
commit1b2e1eb6f08b6f95cf555d7f6bc6e4de2113aaed (patch)
treeaf55fe46babea9e6416343ecc99d1c705a438361 /meta/recipes-support
parent2218490b075b077683f17b643ab211c7716d0dfc (diff)
downloadopenembedded-core-1b2e1eb6f08b6f95cf555d7f6bc6e4de2113aaed.tar.gz
openembedded-core-1b2e1eb6f08b6f95cf555d7f6bc6e4de2113aaed.tar.bz2
openembedded-core-1b2e1eb6f08b6f95cf555d7f6bc6e4de2113aaed.zip
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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support')
-rw-r--r--meta/recipes-support/libical/libical_2.0.0.bb7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/recipes-support/libical/libical_2.0.0.bb b/meta/recipes-support/libical/libical_2.0.0.bb
index fdbe026761..1042e6fa38 100644
--- a/meta/recipes-support/libical/libical_2.0.0.bb
+++ b/meta/recipes-support/libical/libical_2.0.0.bb
@@ -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
+}