summaryrefslogtreecommitdiff
path: root/ctdb/wscript
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2015-09-02 22:32:50 +1000
committerAmitay Isaacs <amitay@samba.org>2015-10-07 14:53:28 +0200
commitc77d3bb183a6e8109db8e4f5494adf899b01ccea (patch)
tree68aa505dc31da0f01a20e061fddf1c796506b761 /ctdb/wscript
parentfacd3c864e0a2db29e6b838389111ba731e02078 (diff)
downloadsamba-c77d3bb183a6e8109db8e4f5494adf899b01ccea.tar.gz
ctdb-common: Add packet read abstraction
Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'ctdb/wscript')
-rwxr-xr-xctdb/wscript8
1 files changed, 5 insertions, 3 deletions
diff --git a/ctdb/wscript b/ctdb/wscript
index 12779bc3fce..a4523d85c1e 100755
--- a/ctdb/wscript
+++ b/ctdb/wscript
@@ -335,8 +335,9 @@ def build(bld):
bld.SAMBA_SUBSYSTEM('ctdb-util',
source=bld.SUBDIR('common',
- '''db_hash.c srvid.c reqid.c'''),
- deps='replace talloc tevent tdb')
+ '''db_hash.c srvid.c reqid.c
+ pkt_read.c'''),
+ deps='replace talloc tevent tdb tevent-unix-util')
bld.SAMBA_SUBSYSTEM('ctdb-client',
source=bld.SUBDIR('client', 'ctdb_client.c'),
@@ -577,6 +578,7 @@ def build(bld):
ctdb_unit_tests = [
'db_hash_test',
'srvid_test',
+ 'pkt_read_test',
]
for target in ctdb_unit_tests:
@@ -584,7 +586,7 @@ def build(bld):
bld.SAMBA_BINARY(target,
source=src,
- deps='talloc tevent tdb',
+ deps='talloc tevent tdb tevent-unix-util',
install_path='${CTDB_TEST_LIBDIR}')
bld.SAMBA_BINARY('reqid_test',