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