diff options
| -rw-r--r-- | meta/recipes-support/libevent/libevent_2.1.11.bb | 8 |
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 | ||
| 32 | DEPENDS = "zlib" | 32 | DEPENDS = "zlib" |
| 33 | 33 | ||
| 34 | PACKAGES_DYNAMIC = "^${PN}-.*$" | ||
| 35 | python split_libevent_libs () { | ||
| 36 | do_split_packages(d, '${libdir}', r'^libevent_([a-z]*)-.*\.so\..*', '${PN}-%s', '${SUMMARY} (%s)', prepend=True, allow_links=True) | ||
| 37 | } | ||
| 38 | PACKAGESPLITFUNCS_prepend = "split_libevent_libs " | ||
| 39 | |||
| 34 | BBCLASSEXTEND = "native nativesdk" | 40 | BBCLASSEXTEND = "native nativesdk" |
| 35 | 41 | ||
| 36 | do_install_append() { | 42 | do_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 | ||
