diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-06-07 14:19:43 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-06-07 06:45:06 +0200 |
commit | 1e28aa147f23439273d892c1223969091b3ca90a (patch) | |
tree | 27225b435165c901753b94bcd68682f292f42398 /source4 | |
parent | 15cebf38c173db0d255010528eaff11e8aa4f258 (diff) | |
download | samba-1e28aa147f23439273d892c1223969091b3ca90a.tar.gz |
build: Add missing deps and make MESSAGING a private library
To remove finddcs_nbt these missing deps need to be added. These
subsystems linked to to implicit dependencies provided by finddcs.
Due to the new arrangmenet of subsystems, MESSAGING needs to be a
private library to avoid being a source of duplicate symbols.
Andrew Bartlett
Diffstat (limited to 'source4')
-rw-r--r-- | source4/auth/ntlm/wscript_build | 2 | ||||
-rwxr-xr-x | source4/dsdb/samdb/ldb_modules/wscript_build_server | 2 | ||||
-rw-r--r-- | source4/lib/messaging/wscript_build | 5 | ||||
-rwxr-xr-x | source4/librpc/wscript_build | 2 | ||||
-rwxr-xr-x | source4/torture/wscript_build | 6 | ||||
-rw-r--r-- | source4/wscript_build | 2 |
6 files changed, 10 insertions, 9 deletions
diff --git a/source4/auth/ntlm/wscript_build b/source4/auth/ntlm/wscript_build index 2745094b8aa..f9e39001c05 100644 --- a/source4/auth/ntlm/wscript_build +++ b/source4/auth/ntlm/wscript_build @@ -4,7 +4,7 @@ bld.SAMBA_MODULE('auth4_sam_module', source='auth_sam.c', subsystem='auth4', init_function='auth4_sam_init', - deps='samdb auth4_sam NTLMSSP_COMMON samba-hostconfig' + deps='samdb auth4_sam NTLMSSP_COMMON samba-hostconfig RPC_NDR_IRPC MESSAGING' ) diff --git a/source4/dsdb/samdb/ldb_modules/wscript_build_server b/source4/dsdb/samdb/ldb_modules/wscript_build_server index ae184dc71e5..f6bb5e6774d 100755 --- a/source4/dsdb/samdb/ldb_modules/wscript_build_server +++ b/source4/dsdb/samdb/ldb_modules/wscript_build_server @@ -106,7 +106,7 @@ bld.SAMBA_MODULE('ldb_rootdse', init_function='ldb_rootdse_module_init', module_init_name='ldb_init_module', internal_module=False, - deps='talloc samdb MESSAGING security DSDB_MODULE_HELPERS' + deps='talloc samdb MESSAGING security DSDB_MODULE_HELPERS RPC_NDR_IRPC' ) diff --git a/source4/lib/messaging/wscript_build b/source4/lib/messaging/wscript_build index 38f1fab331b..4f352a7564e 100644 --- a/source4/lib/messaging/wscript_build +++ b/source4/lib/messaging/wscript_build @@ -1,9 +1,10 @@ #!/usr/bin/env python -bld.SAMBA_SUBSYSTEM('MESSAGING', +bld.SAMBA_LIBRARY('MESSAGING', source='messaging.c', - public_deps='samba-util tdb-wrap NDR_IRPC UNIX_PRIVS util_tdb cluster ndr samba_socket dcerpc' + public_deps='samba-util tdb-wrap NDR_IRPC UNIX_PRIVS util_tdb cluster ndr samba_socket dcerpc', + private_library=True ) diff --git a/source4/librpc/wscript_build b/source4/librpc/wscript_build index bf36d1d18ac..494ff1237c5 100755 --- a/source4/librpc/wscript_build +++ b/source4/librpc/wscript_build @@ -158,7 +158,7 @@ bld.SAMBA_LIBRARY('dcerpc', bld.SAMBA_SUBSYSTEM('pyrpc_util', source='rpc/pyrpc_util.c', - public_deps='pytalloc-util pyparam_util dcerpc', + public_deps='pytalloc-util pyparam_util dcerpc MESSAGING', pyext=True, ) diff --git a/source4/torture/wscript_build b/source4/torture/wscript_build index c0f003dec53..70829f54a6f 100755 --- a/source4/torture/wscript_build +++ b/source4/torture/wscript_build @@ -165,14 +165,14 @@ bld.SAMBA_BINARY('smbtorture', bld.SAMBA_BINARY('gentest', source='gentest.c', manpages='man/gentest.1', - deps='samba-hostconfig samba-util popt POPT_SAMBA POPT_CREDENTIALS LIBCLI_SMB smbclient-raw' + deps='samba-hostconfig samba-util popt POPT_SAMBA POPT_CREDENTIALS LIBCLI_SMB smbclient-raw param_options' ) bld.SAMBA_BINARY('masktest', source='masktest.c', manpages='man/masktest.1', - deps='samba-hostconfig samba-util popt POPT_SAMBA POPT_CREDENTIALS LIBCLI_SMB' + deps='samba-hostconfig samba-util popt POPT_SAMBA POPT_CREDENTIALS LIBCLI_SMB param_options' ) @@ -183,6 +183,6 @@ bld.SAMBA_BINARY('locktest', #cflags='--coverage', # GCOV='1', manpages='man/locktest.1', - deps='popt POPT_SAMBA POPT_CREDENTIALS samba-util LIBCLI_SMB samba-hostconfig', + deps='popt POPT_SAMBA POPT_CREDENTIALS samba-util LIBCLI_SMB samba-hostconfig param_options', ) diff --git a/source4/wscript_build b/source4/wscript_build index 3996a12098e..af71e80e17f 100644 --- a/source4/wscript_build +++ b/source4/wscript_build @@ -2,7 +2,7 @@ bld.SAMBA_BINARY('client/smbclient' + bld.env.suffix4, source='client/client.c', - deps='samba-hostconfig SMBREADLINE samba-util LIBCLI_SMB RPC_NDR_SRVSVC LIBCLI_LSA popt POPT_SAMBA POPT_CREDENTIALS smbclient-raw param_options' + deps='samba-hostconfig SMBREADLINE samba-util LIBCLI_SMB RPC_NDR_SRVSVC LIBCLI_LSA popt POPT_SAMBA POPT_CREDENTIALS smbclient-raw param_options dcerpc' ) |