From a8bd42814c5e2b71d2d6b9bbc8933f08baf6ef79 Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Thu, 31 Mar 2016 06:28:55 +0000 Subject: [PATCH] mds: build fix for LIBMDS consumer. If you have --without-mds, then this test case cannot be compiled due to the lack of libmds. Signed-off-by: Robin H. Johnson --- src/test/Makefile-client.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/test/Makefile-client.am b/src/test/Makefile-client.am index 2d3ac226b9381..f6e7252ccc70f 100644 --- a/src/test/Makefile-client.am +++ b/src/test/Makefile-client.am @@ -285,10 +285,12 @@ ceph_test_rados_api_lock_LDADD = $(LIBRADOS) $(UNITTEST_LDADD) $(RADOS_TEST_LDAD ceph_test_rados_api_lock_CXXFLAGS = $(UNITTEST_CXXFLAGS) bin_DEBUGPROGRAMS += ceph_test_rados_api_lock +if WITH_MDS ceph_test_rados_api_tmap_migrate_SOURCES = test/librados/tmap_migrate.cc tools/cephfs/DataScan.cc tools/cephfs/MDSUtility.cc ceph_test_rados_api_tmap_migrate_LDADD = $(LIBRADOS) $(UNITTEST_LDADD) $(LIBMDS) libcls_cephfs_client.la $(CEPH_GLOBAL) $(RADOS_TEST_LDADD) ceph_test_rados_api_tmap_migrate_CXXFLAGS = $(UNITTEST_CXXFLAGS) bin_DEBUGPROGRAMS += ceph_test_rados_api_tmap_migrate +endif ceph_test_stress_watch_SOURCES = test/test_stress_watch.cc -- 2.39.5