From 0dec93a8e55305ca86e3b34ab5792213c6b8226b Mon Sep 17 00:00:00 2001 From: zhipeng li Date: Mon, 5 Jul 2021 22:15:02 +0800 Subject: [PATCH] cmake: set denc_plugin_dir with the full path This commit changes denc_plugin_dir from relative to absolute path, so that CEPH_DENC_MOD_DIR points to the absolute path and ceph-dencoder is able to load the shared libraries from the specified path. Fixes:https://tracker.ceph.com/issues/51519 Signed-off-by: zhipeng li --- src/tools/ceph-dencoder/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/ceph-dencoder/CMakeLists.txt b/src/tools/ceph-dencoder/CMakeLists.txt index b6c51a33bebc..f5400d9deb13 100644 --- a/src/tools/ceph-dencoder/CMakeLists.txt +++ b/src/tools/ceph-dencoder/CMakeLists.txt @@ -19,7 +19,7 @@ set_target_properties(ceph-dencoder PROPERTIES JOB_POOL_COMPILE heavy_compile_job_pool JOB_POOL_LINK heavy_link_job_pool) -set(denc_plugin_dir ${CEPH_INSTALL_PKGLIBDIR}/denc) +set(denc_plugin_dir ${CEPH_INSTALL_FULL_PKGLIBDIR}/denc) add_custom_target(ceph-dencoder-modules) function(add_denc_mod name) -- 2.47.3