mirror of
https://github.com/samba-team/samba.git
synced 2025-07-27 07:42:04 +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:
committed by
Andreas Schneider
parent
01bb7cff02
commit
dc5788056b
@ -913,7 +913,7 @@ def build(bld):
|
|||||||
# at the moment:
|
# at the moment:
|
||||||
# hide_symbols=bld.BUILTIN_LIBRARY('replace'),
|
# hide_symbols=bld.BUILTIN_LIBRARY('replace'),
|
||||||
private_library=True,
|
private_library=True,
|
||||||
deps='crypt dl attr' + extra_libs)
|
deps='dl attr' + extra_libs)
|
||||||
|
|
||||||
replace_test_cflags = ''
|
replace_test_cflags = ''
|
||||||
if bld.CONFIG_SET('HAVE_WNO_FORMAT_TRUNCATION'):
|
if bld.CONFIG_SET('HAVE_WNO_FORMAT_TRUNCATION'):
|
||||||
|
@ -916,6 +916,7 @@ bld.SAMBA3_SUBSYSTEM('PLAINTEXT_AUTH',
|
|||||||
auth/pass_check.c
|
auth/pass_check.c
|
||||||
''',
|
''',
|
||||||
deps='''
|
deps='''
|
||||||
|
crypt
|
||||||
pam
|
pam
|
||||||
PAM_ERRORS
|
PAM_ERRORS
|
||||||
''')
|
''')
|
||||||
|
@ -195,7 +195,7 @@ bld.SAMBA_MODULE('ldb_password_hash',
|
|||||||
init_function='ldb_password_hash_module_init',
|
init_function='ldb_password_hash_module_init',
|
||||||
module_init_name='ldb_init_module',
|
module_init_name='ldb_init_module',
|
||||||
internal_module=False,
|
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'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user