diff mbox series

[oe,meta-networking,6/8] dovecot: Use libtirpc to provide rpc on musl systems

Message ID 20170321063227.11565-6-raj.khem@gmail.com
State Accepted
Commit e4e7c0ac8ea4f3e720b7eb712663ac2531fd4805
Headers show
Series [oe,meta-oe,1/8] atop: Fix build with musl | expand

Commit Message

Khem Raj March 21, 2017, 6:32 a.m. UTC
Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
 meta-networking/recipes-support/dovecot/dovecot_2.2.25.bb | 4 ++++
 1 file changed, 4 insertions(+)

-- 
2.12.0

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
diff mbox series

Patch

diff --git a/meta-networking/recipes-support/dovecot/dovecot_2.2.25.bb b/meta-networking/recipes-support/dovecot/dovecot_2.2.25.bb
index b2ead4b19..243dda70e 100644
--- a/meta-networking/recipes-support/dovecot/dovecot_2.2.25.bb
+++ b/meta-networking/recipes-support/dovecot/dovecot_2.2.25.bb
@@ -14,6 +14,10 @@  SRC_URI[sha256sum] = "d8d9f32c846397f7c22749a84c5cf6f59c55ff7ded3dc9f07749a25518
 
 DEPENDS = "openssl xz zlib bzip2 libcap icu"
 
+DEPENDS_append_libc-musl = " libtirpc"
+CFLAGS_append_libc-musl = " -I${STAGING_INCDIR}/tirpc"
+LDFLAGS_append_libc-musl = " -ltirpc"
+
 inherit autotools pkgconfig systemd useradd
 
 PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ldap pam', d)}"