]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cmake: move rgw_lua_request.cc from rgw_common target to rgw_a 45815/head
authorCasey Bodley <cbodley@redhat.com>
Thu, 7 Apr 2022 20:06:22 +0000 (16:06 -0400)
committerCasey Bodley <cbodley@redhat.com>
Fri, 8 Apr 2022 19:47:38 +0000 (15:47 -0400)
commit25393f6da286831870f23c56ca5ffcc8e9de0a32
tree36bf486f9dd2c23dec83c7ee7869e4f3ad2528b4
parentfbdc2a18ca8c66f886662b498179376eddf74aca
cmake: move rgw_lua_request.cc from rgw_common target to rgw_a

resolves a clang linker error where `rgw::lua::request::RequestLog()`
from rgw_lua_request.cc (in rgw_common) looks for `rgw_log_op()` from
rgw_log.cc (in rgw_a)

rgw_a depends on rgw_common, not the other way around. so this moves
rgw_lua_request.cc into the same target as rgw_log.cc

lua is now a public dependency of rgw_common so it's not hidden from
rgw_a or unit tests

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/CMakeLists.txt
src/test/rgw/CMakeLists.txt