summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorNathan Cutler <ncutler@suse.com>2019-03-15 13:50:51 +0100
committerNathan Cutler <ncutler@suse.com>2019-06-12 12:40:48 +0200
commitb793c55bd9ef7cd2f45f062ca95f6aa846422bac (patch)
tree0443627242bf8fe706dc0ff7a0980f793dad2342 /src/CMakeLists.txt
parentMerge pull request #27507 from pritha-srivastava/wip-rgw-cross-tenant-doc (diff)
downloadceph-b793c55bd9ef7cd2f45f062ca95f6aa846422bac.tar.xz
ceph-b793c55bd9ef7cd2f45f062ca95f6aa846422bac.zip
cmake: set empty-string RPATH for ceph-osd
Fixes: http://tracker.ceph.com/issues/40295 Signed-off-by: Nathan Cutler <ncutler@suse.com>
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 5c946c065fa..a5929f00c29 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -513,7 +513,8 @@ if(WITH_FUSE)
target_link_libraries(ceph-osd ${FUSE_LIBRARIES})
endif()
set_target_properties(ceph-osd PROPERTIES
- POSITION_INDEPENDENT_CODE ${EXE_LINKER_USE_PIE})
+ POSITION_INDEPENDENT_CODE ${EXE_LINKER_USE_PIE}
+ INSTALL_RPATH "")
install(TARGETS ceph-osd DESTINATION bin)
if (WITH_CEPHFS)