mirror of
https://github.com/samba-team/samba.git
synced 2025-03-27 22:50:26 +03:00
build: Only link against libcrypt where needed
Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: David Mulder <dmulder@suse.com> Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
parent
01bb7cff02
commit
dc5788056b
@ -913,7 +913,7 @@ def build(bld):
|
||||
# at the moment:
|
||||
# hide_symbols=bld.BUILTIN_LIBRARY('replace'),
|
||||
private_library=True,
|
||||
deps='crypt dl attr' + extra_libs)
|
||||
deps='dl attr' + extra_libs)
|
||||
|
||||
replace_test_cflags = ''
|
||||
if bld.CONFIG_SET('HAVE_WNO_FORMAT_TRUNCATION'):
|
||||
|
@ -916,6 +916,7 @@ bld.SAMBA3_SUBSYSTEM('PLAINTEXT_AUTH',
|
||||
auth/pass_check.c
|
||||
''',
|
||||
deps='''
|
||||
crypt
|
||||
pam
|
||||
PAM_ERRORS
|
||||
''')
|
||||
|
@ -195,7 +195,7 @@ bld.SAMBA_MODULE('ldb_password_hash',
|
||||
init_function='ldb_password_hash_module_init',
|
||||
module_init_name='ldb_init_module',
|
||||
internal_module=False,
|
||||
deps='talloc samdb LIBCLI_AUTH NDR_DRSBLOBS authkrb5 krb5 gpgme DSDB_MODULE_HELPERS'
|
||||
deps='talloc samdb LIBCLI_AUTH NDR_DRSBLOBS authkrb5 krb5 gpgme DSDB_MODULE_HELPERS crypt'
|
||||
)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user