ctdb-common: Add path tool
[vlendec/samba-autobuild/.git] / ctdb / wscript
index e8aafe1970a589496ae254c28c4906139fa44baa..797420b4c7ecaa779bafc2fa86048b01023910ad 100644 (file)
@@ -454,6 +454,12 @@ def build(bld):
                         includes='include',
                         deps='ctdb-protocol-util replace talloc tevent')
 
+    bld.SAMBA_BINARY('ctdb-path',
+                     source='common/path_tool.c',
+                     cflags='-DCTDB_PATH_TOOL',
+                     deps='''ctdb-util samba-util talloc replace popt''',
+                     install_path='${CTDB_HELPER_BINDIR}')
+
     bld.SAMBA_BINARY('ctdbd',
                      source='server/ctdbd.c ' +
                                bld.SUBDIR('server',