link librados.so in hope to reduce the size of librdb, also the size of
debug-info.
Signed-off-by: Kefu Chai <kchai@redhat.com>
if(WITH_LTTNG)
add_dependencies(rbd_internal librbd-tp)
endif()
+target_link_libraries(rbd_internal PRIVATE
+ osdc)
add_library(librbd ${CEPH_SHARED}
librbd.cc)
rbd_types
journal
librados
- osdc
cls_rbd_client
cls_lock_client
cls_journal_client
journal
cls_journal_client
cls_rbd_client
- rados_a
+ librados
${UNITTEST_LIBS}
radostest)
target_compile_definitions(ceph_test_librbd PUBLIC "-DTEST_LIBRBD_INTERNALS")
cls_rbd_client
cls_journal_client
rbd_types
- rados_a
+ librados
radostest
${UNITTEST_LIBS}
)