[oe-commits] Martin Jansa : talloc: install .so links

git version control git at git.openembedded.org
Thu Dec 23 18:44:15 UTC 2010


Module: openembedded.git
Branch: shr/testing2011.1
Commit: 5453f7404b7be981b9307d3f546301f9dc887ab1
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=5453f7404b7be981b9307d3f546301f9dc887ab1

Author: Martin Jansa <martin.jansa at gmail.com>
Date:   Tue Dec 21 22:09:52 2010 +0000

talloc: install .so links

* otherwise mesa finds talloc.pc, but doesn't link to libtalloc.so.2 in the end
Acked-by: Koen Kooi <koen at openembedded.org>

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 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
+}





More information about the Openembedded-commits mailing list