Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] libical: Work around hardcoded paths in pkgconfig file
@ 2016-02-04 13:07 Richard Purdie
  0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2016-02-04 13:07 UTC (permalink / raw)
  To: openembedded-core

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>

diff --git a/meta/recipes-support/libical/libical_2.0.0.bb b/meta/recipes-support/libical/libical_2.0.0.bb
index fdbe026..0e5ada9 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
+}




^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-02-04 13:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-04 13:07 [PATCH] libical: Work around hardcoded paths in pkgconfig file Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox