From: Jason Dillaman Date: Sat, 20 Feb 2021 02:38:49 +0000 (-0500) Subject: cmake: libneoradostest-support should be static X-Git-Tag: v17.1.0~2904^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F39587%2Fhead;p=ceph.git cmake: libneoradostest-support should be static Some builds seem to be creating a libneoradostest-support.so dynamic library instead, which results in unresolved dependencies when installing ceph-test. See: https://tracker.ceph.com/issues/38611 Signed-off-by: Jason Dillaman --- diff --git a/src/test/neorados/CMakeLists.txt b/src/test/neorados/CMakeLists.txt index 309b1bc6f85..31e79a6615c 100644 --- a/src/test/neorados/CMakeLists.txt +++ b/src/test/neorados/CMakeLists.txt @@ -19,7 +19,7 @@ add_executable(ceph_test_neorados_op_speed op_speed.cc) target_link_libraries(ceph_test_neorados_op_speed libneorados fmt::fmt ${unittest_libs}) -add_library(neoradostest-support common_tests.cc) +add_library(neoradostest-support STATIC common_tests.cc) target_link_libraries(neoradostest-support libneorados fmt::fmt)