]> git.pld-linux.org Git - packages/ceph.git/blob - ceph-cmake-static.patch
- updated to 17.2.7
[packages/ceph.git] / ceph-cmake-static.patch
1 https://src.fedoraproject.org/rpms/ceph/raw/rawhide/f/0018-src-rgw-store-dbstore-CMakeLists.txt.patch
2 --- ceph-17.1.0/src/rgw/store/dbstore/sqlite/CMakeLists.txt.orig        2022-03-01 08:19:04.974902872 -0500
3 +++ ceph-17.1.0/src/rgw/store/dbstore/sqlite/CMakeLists.txt     2022-03-11 07:55:16.236261471 -0500
4 @@ -12,5 +12,5 @@
5  set(SQLITE_COMPILE_FLAGS "-DSQLITE_THREADSAFE=1")
6  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${SQLITE_COMPILE_FLAGS}")
7  
8 -add_library(sqlite_db ${sqlite_db_srcs})
9 +add_library(sqlite_db STATIC ${sqlite_db_srcs})
10  target_link_libraries(sqlite_db sqlite3 dbstore_lib rgw_common)
11 --- ceph-17.1.0/src/rgw/store/dbstore/CMakeLists.txt.orig       2022-02-28 14:11:49.987077811 -0500
12 +++ ceph-17.1.0/src/rgw/store/dbstore/CMakeLists.txt    2022-03-11 08:40:13.409682698 -0500
13 @@ -16,7 +16,7 @@
14      dbstore_mgr.cc
15      )
16  
17 -add_library(dbstore_lib ${dbstore_srcs})
18 +add_library(dbstore_lib STATIC ${dbstore_srcs})
19  target_include_directories(dbstore_lib PUBLIC "${CMAKE_SOURCE_DIR}/src/fmt/include")
20  target_include_directories(dbstore_lib PUBLIC "${CMAKE_SOURCE_DIR}/src/rgw")
21  set(link_targets spawn)
22 @@ -38,6 +38,7 @@
23  
24  # add pthread library
25  set (CMAKE_LINK_LIBRARIES ${CMAKE_LINK_LIBRARIES} pthread)
26 +set (CMAKE_LINK_LIBRARIES ${CMAKE_LINK_LIBRARIES} global)
27  
28  find_package(gtest QUIET)
29  if(WITH_TESTS)
30 @@ -47,7 +48,7 @@
31  endif()
32  
33  include_directories(${CMAKE_INCLUDE_DIR})
34 -add_library(dbstore ${dbstore_mgr_srcs})
35 +add_library(dbstore STATIC ${dbstore_mgr_srcs})
36  target_link_libraries(dbstore ${CMAKE_LINK_LIBRARIES})
37  
38  # testing purpose
This page took 0.093986 seconds and 3 git commands to generate.