See comment in src/test/libcephfs/CMakeLists.txt. I don't
know why bookworm tweaks this issue so that it occurs on two
more test binaries, but this fix works around the link error
in the previously-discovered way
Signed-off-by: Dan Mick <dan.mick@redhat.com>
ceph-common
cephfs
)
+ if(NOT WIN32)
+ target_link_options(ceph_test_trim_caps PRIVATE -Wl,--copy-dt-needed-entries)
+ endif()
install(TARGETS ceph_test_trim_caps DESTINATION ${CMAKE_INSTALL_BINDIR})
add_executable(ceph_test_ino_release_cb
ceph-common
cephfs
)
+ if(NOT WIN32)
+ target_link_options(ceph_test_ino_release_cb PRIVATE -Wl,--copy-dt-needed-entries)
+ endif()
install(TARGETS ceph_test_ino_release_cb DESTINATION ${CMAKE_INSTALL_BINDIR})
endif(${WITH_CEPHFS})