From 32bf50e5a2f8fe923079d517301fa72ff5b68b9b Mon Sep 17 00:00:00 2001 From: myoungwon oh Date: Sat, 26 Jan 2019 12:35:47 +0900 Subject: [PATCH] src/tools: fix compile error (master version issue) Signed-off-by: Myoungwon Oh --- alpine/APKBUILD.in | 3 ++- ceph.spec.in | 1 + debian/ceph-test.install | 1 + src/tools/CMakeLists.txt | 2 +- 4 files changed, 5 insertions(+), 2 deletions(-) diff --git a/alpine/APKBUILD.in b/alpine/APKBUILD.in index 7ddb5de4521..96037883f55 100644 --- a/alpine/APKBUILD.in +++ b/alpine/APKBUILD.in @@ -435,7 +435,8 @@ ceph_test() { ceph-monstore-tool \ ceph-osdomap-tool \ ceph-kvstore-tool \ - ceph-debugpack + ceph-debugpack \ + cephdeduptool _pkg $_libdir ceph/ceph-monstore-update-crush.sh } diff --git a/ceph.spec.in b/ceph.spec.in index 6e18025ebce..cc47658f84a 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -1898,6 +1898,7 @@ fi %{_bindir}/ceph_test_* %{_bindir}/ceph-coverage %{_bindir}/ceph-debugpack +%{_bindir}/cephdeduptool %{_mandir}/man8/ceph-debugpack.8* %dir %{_libdir}/ceph %{_libdir}/ceph/ceph-monstore-update-crush.sh diff --git a/debian/ceph-test.install b/debian/ceph-test.install index e2ccb9fe800..200269fa6d5 100644 --- a/debian/ceph-test.install +++ b/debian/ceph-test.install @@ -17,5 +17,6 @@ usr/bin/ceph_rgw_multiparser usr/bin/ceph_scratchtool usr/bin/ceph_scratchtoolpp usr/bin/ceph_test_* +usr/bin/cephdeduptool usr/lib/ceph/ceph-monstore-update-crush.sh usr/share/java/libcephfs-test.jar diff --git a/src/tools/CMakeLists.txt b/src/tools/CMakeLists.txt index 733ae31fc25..a799a6c96f1 100644 --- a/src/tools/CMakeLists.txt +++ b/src/tools/CMakeLists.txt @@ -102,7 +102,7 @@ install(TARGETS ceph-authtool DESTINATION bin) set(cephdeduptool_srcs ceph_dedup_tool.cc) add_executable(cephdeduptool ${cephdeduptool_srcs}) -target_link_libraries(cephdeduptool librados global cls_cas_client) +target_link_libraries(cephdeduptool librados-cxx global cls_cas_client) install(TARGETS cephdeduptool DESTINATION bin) if(WITH_CEPHFS) -- 2.39.5