summaryrefslogtreecommitdiff
path: root/ctdb/wscript
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2015-12-08 16:23:50 +1100
committerAmitay Isaacs <amitay@samba.org>2016-04-28 09:39:16 +0200
commit5cf3b7a1e3e5c60bb9bae123f422887608b17d55 (patch)
treead0da423ab258f8da7d276280285d4f18432d90c /ctdb/wscript
parentc14e0ff8e4fdfaf18e0a906329e4e886bc200ab1 (diff)
downloadsamba-5cf3b7a1e3e5c60bb9bae123f422887608b17d55.tar.gz
ctdb: Add new helper ctdb_mutex_fcntl_helper
This implements the type of fcntl locking that the recovery lock uses. The intent is to use it for multiple locks and allow the choice of helper to be configured. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Diffstat (limited to 'ctdb/wscript')
-rwxr-xr-xctdb/wscript6
1 files changed, 6 insertions, 0 deletions
diff --git a/ctdb/wscript b/ctdb/wscript
index 2a7c2363885..6a50a3966fa 100755
--- a/ctdb/wscript
+++ b/ctdb/wscript
@@ -451,6 +451,12 @@ def build(bld):
samba-util replace tdb''',
install_path='${CTDB_HELPER_BINDIR}')
+ bld.SAMBA_BINARY('ctdb_mutex_fcntl_helper',
+ source='server/ctdb_mutex_fcntl_helper.c',
+ deps='ctdb-system',
+ includes='include',
+ install_path='${CTDB_HELPER_BINDIR}')
+
bld.SAMBA_GENERATOR('ctdb-smnotify-h',
source='utils/smnotify/smnotify.x',
target='utils/smnotify/smnotify.h',