From: zhipeng li Date: Mon, 5 Jul 2021 14:15:02 +0000 (+0800) Subject: cmake: set denc_plugin_dir with the full path X-Git-Tag: v17.1.0~1453^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F42185%2Fhead;p=ceph.git 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 --- diff --git a/src/tools/ceph-dencoder/CMakeLists.txt b/src/tools/ceph-dencoder/CMakeLists.txt index b6c51a33beb..f5400d9deb1 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)