ca590e
--- ceph-17.0.0-10335-gfd206722/src/rgw/store/dbstore/CMakeLists.txt.orig	2022-02-12 08:17:16.038116513 -0500
ca590e
+++ ceph-17.0.0-10335-gfd206722/src/rgw/store/dbstore/CMakeLists.txt	2022-02-12 08:40:43.564440428 -0500
ca590e
@@ -47,7 +47,7 @@
ca590e
 endif()
ca590e
 
ca590e
 include_directories(${CMAKE_INCLUDE_DIR})
ca590e
-add_library(dbstore ${dbstore_mgr_srcs})
ca590e
+add_library(dbstore STATIC ${dbstore_mgr_srcs})
ca590e
 target_link_libraries(dbstore ${CMAKE_LINK_LIBRARIES})
ca590e
 
ca590e
 # testing purpose
ca590e
--- ceph-17.0.0-10335-gfd206722/src/rgw/store/dbstore/sqlite/CMakeLists.txt.orig	2022-02-12 08:18:04.843227147 -0500
ca590e
+++ ceph-17.0.0-10335-gfd206722/src/rgw/store/dbstore/sqlite/CMakeLists.txt	2022-02-12 08:18:17.871989500 -0500
ca590e
@@ -12,5 +12,5 @@
ca590e
 set(SQLITE_COMPILE_FLAGS "-DSQLITE_THREADSAFE=1")
ca590e
 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${SQLITE_COMPILE_FLAGS}")
ca590e
 
ca590e
-add_library(sqlite_db ${sqlite_db_srcs})
ca590e
+add_library(sqlite_db STATIC ${sqlite_db_srcs})
ca590e
 target_link_libraries(sqlite_db sqlite3 dbstore_lib rgw_common)