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