summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-connectivity/samba/samba_4.4.5.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2016-11-06 23:40:54 -0800
committerJoe MacDonald <joe_macdonald@mentor.com>2016-12-14 09:20:09 -0500
commitef1c823a3fc4110d0717551fdb566ad7b251a649 (patch)
treeeaf3112d04c62267cfbe84c2fa5339a6938c05e8 /meta-networking/recipes-connectivity/samba/samba_4.4.5.bb
parent961ed807dadb15108c7fdc020f66ec52c17310bf (diff)
downloadmeta-openembedded-ef1c823a3fc4110d0717551fdb566ad7b251a649.tar.gz
samba: Fix build with musl
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking/recipes-connectivity/samba/samba_4.4.5.bb')
-rw-r--r--meta-networking/recipes-connectivity/samba/samba_4.4.5.bb7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta-networking/recipes-connectivity/samba/samba_4.4.5.bb b/meta-networking/recipes-connectivity/samba/samba_4.4.5.bb
index e9694d4e9c..a27bcd1e6b 100644
--- a/meta-networking/recipes-connectivity/samba/samba_4.4.5.bb
+++ b/meta-networking/recipes-connectivity/samba/samba_4.4.5.bb
@@ -20,6 +20,10 @@ SRC_URI = "${SAMBA_MIRROR}/stable/samba-${PV}.tar.gz \
20 file://0006-avoid-using-colon-in-the-checking-msg.patch \ 20 file://0006-avoid-using-colon-in-the-checking-msg.patch \
21 file://volatiles.03_samba \ 21 file://volatiles.03_samba \
22 " 22 "
23SRC_URI_append_libc-musl = " \
24 file://samba-4.2.7-pam.patch \
25 file://samba-4.3.9-remove-getpwent_r.patch \
26 "
23 27
24SRC_URI[md5sum] = "6950c5e9f7bdeb8a610c2ca957a15be4" 28SRC_URI[md5sum] = "6950c5e9f7bdeb8a610c2ca957a15be4"
25SRC_URI[sha256sum] = "b876ef2e63f66265490e80a122e66ef2d7616112b839df68f56ac2e1ce17a7bd" 29SRC_URI[sha256sum] = "b876ef2e63f66265490e80a122e66ef2d7616112b839df68f56ac2e1ce17a7bd"
@@ -29,6 +33,9 @@ inherit systemd waf-samba cpan-base perlnative update-rc.d
29RDEPENDS_${PN}_remove = "perl" 33RDEPENDS_${PN}_remove = "perl"
30 34
31DEPENDS += "readline virtual/libiconv zlib popt libtalloc libtdb libtevent libldb krb5 libbsd libaio libpam" 35DEPENDS += "readline virtual/libiconv zlib popt libtalloc libtdb libtevent libldb krb5 libbsd libaio libpam"
36DEPENDS_append_libc-musl = " libtirpc"
37CFLAGS_append_libc-musl = " -I${STAGING_INCDIR}/tirpc"
38LDFLAGS_append_libc-musl = " -ltirpc"
32 39
33SYSVINITTYPE_linuxstdbase = "lsb" 40SYSVINITTYPE_linuxstdbase = "lsb"
34SYSVINITTYPE = "sysv" 41SYSVINITTYPE = "sysv"