diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-04 13:07:53 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-04 13:09:56 +0000 |
| commit | b33e440cc6fbd703e8045d94b806790343e72eb6 (patch) | |
| tree | 51394f87ef2cc29d840b42dd6224f13985dc09c7 | |
| parent | a131b6e94ae04238b684c1234a217e7b684cfa52 (diff) | |
| download | poky-b33e440cc6fbd703e8045d94b806790343e72eb6.tar.gz | |
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>
| -rw-r--r-- | meta/recipes-support/libical/libical_2.0.0.bb | 7 |
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" | |||
| 18 | inherit cmake | 18 | inherit cmake |
| 19 | 19 | ||
| 20 | FILES_${PN}-dev += "${libdir}/cmake/*" | 20 | FILES_${PN}-dev += "${libdir}/cmake/*" |
| 21 | |||
| 22 | # | ||
| 23 | # Turn specific library paths in the pkgconfig file into standard library entries | ||
| 24 | # | ||
| 25 | do_install_append () { | ||
| 26 | sed -i -e "s#${STAGING_LIBDIR}/lib\([a-z0-9]*\)\.so#-l\1#g" ${D}${libdir}/pkgconfig/libical.pc | ||
| 27 | } | ||
