1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

s3-waf: add dependency on talloc or it won't build if talloc.h is not in the default include path

The problem occurs only if talloc, tdb and ldb are used as system
libraries and talloc is not installed in a default.

Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Fri Feb 10 23:27:29 CET 2012 on sn-devel-104
This commit is contained in:
Matthieu Patou 2012-02-07 10:46:43 -08:00 committed by Matthieu Patou
parent 05036fab0a
commit 474c02acac
3 changed files with 11 additions and 6 deletions

View File

@ -26,7 +26,8 @@ bld.SAMBA3_SUBSYSTEM('rpc',
vars=locals())
bld.SAMBA3_SUBSYSTEM('RPC_CONFIG',
source='rpc_config.c')
source='rpc_config.c',
deps='talloc')
bld.SAMBA3_SUBSYSTEM('RPC_NCACN_NP',
source='rpc_ncacn_np.c rpc_handles.c rpc_contexts.c',

View File

@ -734,14 +734,16 @@ bld.SAMBA3_LIBRARY('pdb',
vars=locals())
bld.SAMBA3_SUBSYSTEM('SERVER_MUTEX',
source=SERVER_MUTEX_SRC)
source=SERVER_MUTEX_SRC,
deps='talloc')
bld.SAMBA3_SUBSYSTEM('PARAM_UTIL',
source=PARAM_UTIL_SRC)
source=PARAM_UTIL_SRC,
deps='talloc')
bld.SAMBA3_SUBSYSTEM('LOADPARM_CTX',
source='param/loadparm_ctx.c',
deps='''s3_param_h param''',
deps='''talloc s3_param_h param''',
vars=locals())
bld.SAMBA_GENERATOR('param/param_global_h',
@ -837,7 +839,8 @@ bld.SAMBA3_SUBSYSTEM('samba3core',
vars=locals())
bld.SAMBA3_LIBRARY('smbd_shim',
source='''lib/smbd_shim.c''',
source='''lib/smbd_shim.c''',
deps='talloc',
private_library=True)
bld.SAMBA3_SUBSYSTEM('LIBNTLMSSP',
@ -1084,6 +1087,7 @@ bld.SAMBA3_LIBRARY('trusts_util',
bld.SAMBA3_SUBSYSTEM('tdb-wrap3',
source='lib/util_tdb.c',
deps='talloc',
vars=locals())
bld.SAMBA3_LIBRARY('dbwrap',

View File

@ -4,6 +4,6 @@ bld.SAMBA_MODULE('ntvfs_unixuid',
source='vfs_unixuid.c',
subsystem='ntvfs',
init_function='ntvfs_unixuid_init',
deps='auth_unix_token'
deps='auth_unix_token talloc'
)