mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-26 08:51:25 +02:00
27 lines
1002 B
Diff
27 lines
1002 B
Diff
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)
|
|
|