aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ceph/boost-python.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/ceph/boost-python.patch')
-rw-r--r--testing/ceph/boost-python.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/testing/ceph/boost-python.patch b/testing/ceph/boost-python.patch
new file mode 100644
index 0000000000..77a4402da4
--- /dev/null
+++ b/testing/ceph/boost-python.patch
@@ -0,0 +1,26 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index ebccbee..f9240f1 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -465,7 +465,7 @@ set(Boost_USE_MULTITHREADED ON)
+ set(BOOST_COMPONENTS
+ thread system regex random program_options date_time iostreams)
+ if(WITH_MGR)
+- list(APPEND BOOST_COMPONENTS python)
++ list(APPEND BOOST_COMPONENTS python27)
+ endif()
+
+ # require minimally the bundled version
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+index 93963cf..15df5ad 100644
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -596,7 +596,7 @@ if (WITH_MGR)
+ $<TARGET_OBJECTS:heap_profiler_objs>)
+ target_include_directories(ceph-mgr PRIVATE "${PYTHON_INCLUDE_DIRS}")
+ target_link_libraries(ceph-mgr mds osdc global
+- -lboost_python ${PYTHON_LIBRARIES} ${BLKID_LIBRARIES} ${CMAKE_DL_LIBS} ${ALLOC_LIBS})
++ -lboost_python27 ${PYTHON_LIBRARIES} ${BLKID_LIBRARIES} ${CMAKE_DL_LIBS} ${ALLOC_LIBS})
+ install(TARGETS ceph-mgr DESTINATION bin)
+ endif (WITH_MGR)
+