From: Adam C. Emerson Date: Mon, 16 Mar 2026 17:17:15 +0000 (-0400) Subject: build: `unittest_rgw_sync_trace` links to rgw libraries X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=afe3d77d562d62844a649024074935931ee37b13;p=ceph.git build: `unittest_rgw_sync_trace` links to rgw libraries Leaving them out results in link errors on unoptimized debug builds. Signed-off-by: Adam C. Emerson --- diff --git a/src/test/rgw/CMakeLists.txt b/src/test/rgw/CMakeLists.txt index fb3db2d1362d..0e1c452f172e 100644 --- a/src/test/rgw/CMakeLists.txt +++ b/src/test/rgw/CMakeLists.txt @@ -327,7 +327,7 @@ add_executable(unittest_rgw_sync_trace test_rgw_sync_trace.cc) add_ceph_unittest(unittest_rgw_sync_trace) target_include_directories(unittest_rgw_sync_trace SYSTEM PRIVATE "${CMAKE_SOURCE_DIR}/src/rgw") -target_link_libraries(unittest_rgw_sync_trace) +target_link_libraries(unittest_rgw_sync_trace rgw_common ${rgw_libs}) if(WITH_RADOSGW_RADOS) add_executable(ceph_test_rgw_gc_log test_rgw_gc_log.cc $)