summaryrefslogtreecommitdiff
path: root/ctdb/wscript
diff options
context:
space:
mode:
authorBjörn Baumbach <bb@sernet.de>2019-06-13 17:20:02 +0200
committerAndrew Bartlett <abartlet@samba.org>2019-09-02 03:44:24 +0000
commit16c3a00d2eb8471dfa4cf9ace003578331d2e1e0 (patch)
tree8fa5385af27548e3189e83d5440c5a27d20d0881 /ctdb/wscript
parentdfa4dcf386febdf1b77ba963f11bcc2a44f8a738 (diff)
downloadsamba-16c3a00d2eb8471dfa4cf9ace003578331d2e1e0.tar.gz
build: remove unneeded libceph-common dependency
librados and libcephfs are both dependent on ceph-common, but ctdb_mutex_ceph_rados_helper and vfs_ceph needn't be explicitly linked against it. Signed-off-by: Björn Baumbach <bb@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Mon Sep 2 03:44:24 UTC 2019 on sn-devel-184
Diffstat (limited to 'ctdb/wscript')
-rw-r--r--ctdb/wscript3
1 files changed, 1 insertions, 2 deletions
diff --git a/ctdb/wscript b/ctdb/wscript
index 8ce5a0953be..c67725204a2 100644
--- a/ctdb/wscript
+++ b/ctdb/wscript
@@ -262,7 +262,6 @@ def configure(conf):
if Options.options.ctdb_ceph_reclock:
if (conf.CHECK_HEADERS('rados/librados.h', False, False, 'rados') and
conf.CHECK_LIB('rados', shlib=True)):
- conf.CHECK_LIB('ceph-common', shlib=True)
Logs.info('Building with Ceph librados recovery lock support')
conf.define('HAVE_LIBRADOS', 1)
else:
@@ -682,7 +681,7 @@ def build(bld):
if bld.env.HAVE_LIBRADOS:
bld.SAMBA_BINARY('ctdb_mutex_ceph_rados_helper',
source='utils/ceph/ctdb_mutex_ceph_rados_helper.c',
- deps='talloc tevent rados ceph-common',
+ deps='talloc tevent rados',
includes='include',
install_path='${CTDB_HELPER_BINDIR}')