]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cmake: libneoradostest-support should be static 39587/head
authorJason Dillaman <dillaman@redhat.com>
Sat, 20 Feb 2021 02:38:49 +0000 (21:38 -0500)
committerJason Dillaman <dillaman@redhat.com>
Sat, 20 Feb 2021 02:38:49 +0000 (21:38 -0500)
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 <dillaman@redhat.com>
src/test/neorados/CMakeLists.txt

index 309b1bc6f85032302214de55d2beb62fd9b22686..31e79a6615c46b66bc1ab2ec2406dd8e9c6a3d01 100644 (file)
@@ -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)