summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-support/libevent/libevent_2.1.11.bb8
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/recipes-support/libevent/libevent_2.1.11.bb b/meta/recipes-support/libevent/libevent_2.1.11.bb
index f005ab8bda..8c7c49e7dd 100644
--- a/meta/recipes-support/libevent/libevent_2.1.11.bb
+++ b/meta/recipes-support/libevent/libevent_2.1.11.bb
@@ -31,9 +31,17 @@ inherit ptest multilib_header
31 31
32DEPENDS = "zlib" 32DEPENDS = "zlib"
33 33
34PACKAGES_DYNAMIC = "^${PN}-.*$"
35python split_libevent_libs () {
36 do_split_packages(d, '${libdir}', r'^libevent_([a-z]*)-.*\.so\..*', '${PN}-%s', '${SUMMARY} (%s)', prepend=True, allow_links=True)
37}
38PACKAGESPLITFUNCS_prepend = "split_libevent_libs "
39
34BBCLASSEXTEND = "native nativesdk" 40BBCLASSEXTEND = "native nativesdk"
35 41
36do_install_append() { 42do_install_append() {
43 rm ${D}${bindir}/event_rpcgen.py
44 rmdir ${D}${bindir}
37 oe_multilib_header event2/event-config.h 45 oe_multilib_header event2/event-config.h
38} 46}
39 47