From: Amitay Isaacs Date: Fri, 15 Nov 2019 02:38:43 +0000 (+1100) Subject: build: add missing crypt dependency for auth4_unix X-Git-Tag: ldb-2.1.0~698 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93b9fc3da86a09be8244859ee62063b75e002b23;p=thirdparty%2Fsamba.git 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 --- 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' )