While upgrading systemd to 216, we manually moved libgudev to
${rootlibdir} in do_install task to keep backward compatibility.
But libdir in libgudev-1.0.la is still ${libdir}, that caused
libgudev could not be found by libtool.
Add the missing revision to libgudev-1.0.la
Signed-off-by: Hongxu Jia <[email protected]>
---
meta/recipes-core/systemd/systemd_216.bb | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-core/systemd/systemd_216.bb
b/meta/recipes-core/systemd/systemd_216.bb
index ebf9395..053825d 100644
--- a/meta/recipes-core/systemd/systemd_216.bb
+++ b/meta/recipes-core/systemd/systemd_216.bb
@@ -130,7 +130,8 @@ do_install() {
fi
# Move libgudev back to ${rootlibdir} to keep backward compatibility
- [ ${rootlibdir} != ${libdir} ] && mv -t ${D}${rootlibdir}
${D}${libdir}/libgudev*
+ [ ${rootlibdir} != ${libdir} ] && mv -t ${D}${rootlibdir}
${D}${libdir}/libgudev* && \
+ sed -i "s#^libdir=.*#libdir='${rootlibdir}'#"
${D}${rootlibdir}/libgudev-1.0.la
# Delete journal README, as log can be symlinked inside volatile.
rm -f ${D}/${localstatedir}/log/README
--
1.9.1
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core