[oe] [PATCH 1/2] talloc: install .so links

Martin Jansa martin.jansa at gmail.com
Tue Dec 21 14:09:52 UTC 2010


* otherwise mesa finds talloc.pc, but doesn't link to libtalloc.so.2 in the end
---
 recipes/talloc/talloc_2.0.1.bb |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/recipes/talloc/talloc_2.0.1.bb b/recipes/talloc/talloc_2.0.1.bb
index 9514a15..80f4b37 100644
--- a/recipes/talloc/talloc_2.0.1.bb
+++ b/recipes/talloc/talloc_2.0.1.bb
@@ -10,8 +10,17 @@ SRC_URI[sha256sum] = "5b810527405f29d54f50efd78bf2c89e318f2cd8bed001f22f2a1412fd
 
 TARGET_CC_ARCH += "${LDFLAGS}"
 
+PR = "r1"
+
 # autoreconf doesn't work well while reconfiguring included libreplace
 do_configure () {
        gnu-configize
        oe_runconf
 }
+
+do_install_append() {
+       install -d ${D}${libdir}
+       ln -s libtalloc.so.2.0.1 ${D}${libdir}/libtalloc.so.2.0
+       ln -s libtalloc.so.2.0 ${D}${libdir}/libtalloc.so.2
+       ln -s libtalloc.so.2 ${D}${libdir}/libtalloc.so
+}
-- 
1.7.3.4





More information about the Openembedded-devel mailing list