]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
torture: Fix build on freebsd, missing deps on cmdline
authorAmitay Isaacs <amitay@gmail.com>
Wed, 16 Jun 2021 02:58:27 +0000 (12:58 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 22 Jun 2021 02:05:17 +0000 (02:05 +0000)
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

source4/torture/libnetapi/wscript_build
source4/torture/libsmbclient/wscript_build
source4/torture/smb2/wscript_build
source4/torture/wscript_build

index 7d69c8df3f94888a59ac507cfb2e81fd8a5fe198..988ba9bd0d2e3dbc2bed59958b576d0f917e1516 100644 (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,
        )
 
index 2bb33a958d7866ce9890b047ea425ae971b41942..61d819bc94364038797b7adec6bc25b37d4a2429 100644 (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
        )
 
index c686dec7d7ae82fe2146fefff9df305009b22066..64b3e364a1b370ec0d9b661a99628898688a90a6 100644 (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'
index 5c1e12867f39a198f48b8982f045974f0ba303e0..49e75be095556ea83c0dd94c12efb596660c40ca 100644 (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'