1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-21 18:04:06 +03:00

torture: Fix build on freebsd, missing deps on cmdline

Missing dependency causes build failure on freebsd.

[2928/3944] Compiling source4/torture/util_smb.c
In file included from ../../source4/torture/util_smb.c:22:
../../lib/cmdline/cmdline.h:22:10: fatal error: 'popt.h' file not found
         ^~~~~~~~
1 error generated.

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Tue Jun 22 02:05:17 UTC 2021 on sn-devel-184
This commit is contained in:
Amitay Isaacs 2021-06-16 12:58:27 +10:00 committed by Andrew Bartlett
parent e267cea817
commit 002ef728bb
4 changed files with 6 additions and 6 deletions

View File

@ -5,7 +5,7 @@ bld.SAMBA_MODULE('TORTURE_LIBNETAPI',
autoproto='proto.h',
subsystem='smbtorture',
init_function='torture_libnetapi_init',
deps='netapi',
deps='netapi CMDLINE_S4',
internal_module=True,
)

View File

@ -6,7 +6,7 @@ bld.SAMBA_MODULE('TORTURE_LIBSMBCLIENT',
autoproto='proto.h',
subsystem='smbtorture',
init_function='torture_libsmbclient_init',
deps='smbclient',
deps='smbclient CMDLINE_S4',
internal_module=True
)

View File

@ -49,7 +49,7 @@ bld.SAMBA_MODULE('TORTURE_SMB2',
util.c
''',
subsystem='smbtorture',
deps='LIBCLI_SMB2 torture NDR_IOCTL',
deps='LIBCLI_SMB2 torture NDR_IOCTL CMDLINE_S4',
internal_module=True,
autoproto='proto.h',
init_function='torture_smb2_init'

View File

@ -6,7 +6,7 @@ samba_net = bld.pyembed_libname('samba-net')
bld.SAMBA_SUBSYSTEM('TORTURE_UTIL',
source='util_smb.c',
public_deps='torture',
deps='smbclient-raw'
deps='smbclient-raw CMDLINE_S4'
)
@ -221,7 +221,7 @@ bld.SAMBA_MODULE('TORTURE_AUTH',
source='auth/ntlmssp.c auth/pac.c auth/smbencrypt.c',
autoproto='auth/proto.h',
subsystem='smbtorture',
deps='LIBCLI_SMB gensec auth4 authkrb5 smbpasswdparser torture com_err gensec_ntlmssp',
deps='LIBCLI_SMB gensec auth4 authkrb5 smbpasswdparser torture com_err gensec_ntlmssp CMDLINE_S4',
internal_module=True
)
@ -262,7 +262,7 @@ bld.SAMBA_MODULE('TORTURE_LDAP',
ldap/session_expiry.c
''',
subsystem='smbtorture',
deps='cli-ldap cli_cldap samdb torture ldbsamba',
deps='cli-ldap cli_cldap samdb torture ldbsamba CMDLINE_S4',
internal_module=True,
autoproto='ldap/proto.h',
init_function='torture_ldap_init'