build(waf): fix the cluster(ctdb) build without system talloc installed
authorMichael Adam <obnox@samba.org>
Tue, 30 Oct 2012 13:43:42 +0000 (14:43 +0100)
committerMichael Adam <obnox@samba.org>
Thu, 1 Nov 2012 09:22:13 +0000 (10:22 +0100)
This is analogous to the earlier patch for tdb.
It temporarily adds the talloc include path to the
includes search list for the ctdb-header configure checks.

Signed-off-by: Michael Adam <obnox@samba.org>
Tested-by: Björn Baumbach <bb@sernet.de>
source3/wscript

index 9db03ec6e39f4d7d38e5ce97a2ed97f14c8080ff..5cbfd35f2a66188c9009656436e2b80930f1f236 100644 (file)
@@ -1305,6 +1305,9 @@ main() {
         if not conf.env.USING_SYSTEM_TDB:
             includes = includes + ' ' + srcdir + '/lib/tdb/include'
 
+        if not conf.env.USING_SYSTEM_TALLOC:
+            includes = includes + ' ' + srcdir + '/lib/talloc'
+
         have_cluster_support = True
         ctdb_broken = ""