s3-waf: add dependency on talloc or it won't build if talloc.h is not in the default...
authorMatthieu Patou <mat@matws.net>
Tue, 7 Feb 2012 18:46:43 +0000 (10:46 -0800)
committerMatthieu Patou <mat@samba.org>
Fri, 10 Feb 2012 22:27:29 +0000 (23:27 +0100)
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

source3/rpc_server/wscript_build
source3/wscript_build
source4/ntvfs/unixuid/wscript_build

index a0829fecac7e16ef67d88018ed0b14481cec94f3..57c76a281770262cc34ea224a53da243e2079bda 100755 (executable)
@@ -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',
index cb16ef22625a0d4ade3e4ac0f89ec55aab44c24a..1e41953174a26ac0918a02900a9515af5ec0b3bf 100755 (executable)
@@ -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',
index 3a7570956b609af1101ea87165977c93c8ea1cec..56fd42d1af3e84166734e3b7d78a11c25bdaa145 100644 (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'
        )