From: Amitay Isaacs Date: Wed, 16 Jun 2021 02:58:27 +0000 (+1000) Subject: torture: Fix build on freebsd, missing deps on cmdline X-Git-Tag: tevent-0.11.0~241 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=002ef728bb02819385c0a8c2ca1b216ed712d153;p=thirdparty%2Fsamba.git 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 Reviewed-by: Andrew Bartlett Autobuild-User(master): Andrew Bartlett Autobuild-Date(master): Tue Jun 22 02:05:17 UTC 2021 on sn-devel-184 --- diff --git a/source4/torture/libnetapi/wscript_build b/source4/torture/libnetapi/wscript_build index 7d69c8df3f9..988ba9bd0d2 100644 --- a/source4/torture/libnetapi/wscript_build +++ b/source4/torture/libnetapi/wscript_build @@ -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, ) diff --git a/source4/torture/libsmbclient/wscript_build b/source4/torture/libsmbclient/wscript_build index 2bb33a958d7..61d819bc943 100644 --- a/source4/torture/libsmbclient/wscript_build +++ b/source4/torture/libsmbclient/wscript_build @@ -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 ) diff --git a/source4/torture/smb2/wscript_build b/source4/torture/smb2/wscript_build index c686dec7d7a..64b3e364a1b 100644 --- a/source4/torture/smb2/wscript_build +++ b/source4/torture/smb2/wscript_build @@ -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' diff --git a/source4/torture/wscript_build b/source4/torture/wscript_build index 5c1e12867f3..49e75be0955 100644 --- a/source4/torture/wscript_build +++ b/source4/torture/wscript_build @@ -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'