build: add missing crypt dependency for auth4_unix
authorAmitay Isaacs <amitay@gmail.com>
Fri, 15 Nov 2019 02:38:43 +0000 (13:38 +1100)
committerAmitay Isaacs <amitay@samba.org>
Tue, 19 Nov 2019 04:47:47 +0000 (04:47 +0000)
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 <amitay@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Amitay Isaacs <amitay@samba.org>
Autobuild-Date(master): Tue Nov 19 04:47:47 UTC 2019 on sn-devel-184

source4/auth/ntlm/wscript_build

index 50d301deca488113bff864008db4965f8fc7236b..04a760c3e495b730c43297f794d18a68db68d63b 100644 (file)
@@ -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'
        )