From 93b9fc3da86a09be8244859ee62063b75e002b23 Mon Sep 17 00:00:00 2001 From: Amitay Isaacs Date: Fri, 15 Nov 2019 13:38:43 +1100 Subject: [PATCH] build: add missing crypt dependency for auth4_unix Commit dc5788056bc removed crypt library from replace. This breaks the build on fedora 30 ppc64. [2439/3956] Linking bin/default/source4/auth/ntlm/libauth4-samba4.so /usr/bin/ld: source4/auth/ntlm/auth_unix.c.5.o: in function `password_check': auth_unix.c:(.text+0x7e0): undefined reference to `crypt' crypt library is required to build ntlm auth_unix.c. Signed-off-by: Amitay Isaacs Reviewed-by: Andrew Bartlett Autobuild-User(master): Amitay Isaacs Autobuild-Date(master): Tue Nov 19 04:47:47 UTC 2019 on sn-devel-184 --- source4/auth/ntlm/wscript_build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source4/auth/ntlm/wscript_build b/source4/auth/ntlm/wscript_build index 50d301deca4..04a760c3e49 100644 --- a/source4/auth/ntlm/wscript_build +++ b/source4/auth/ntlm/wscript_build @@ -36,7 +36,7 @@ bld.SAMBA_MODULE('auth4_unix', source='auth_unix.c', subsystem='auth4', init_function='auth4_unix_init', - deps='pam PAM_ERRORS LIBTSOCKET' + deps='pam PAM_ERRORS LIBTSOCKET crypt' ) -- 2.47.3