]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cmake: set denc_plugin_dir with the full path 42185/head
authorzhipeng li <qiuxinyidian@gmail.com>
Mon, 5 Jul 2021 14:15:02 +0000 (22:15 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 7 Jul 2021 07:35:16 +0000 (15:35 +0800)
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 <qiuxinyidian@gmail.com>
src/tools/ceph-dencoder/CMakeLists.txt

index b6c51a33bebc52bc1542e66bb0c721f5e6bdd1a0..f5400d9deb1358129673545103ef832066524a44 100644 (file)
@@ -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)