aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorAvatar Michał Górny <mgorny@gentoo.org> 2016-12-14 20:34:13 +0100
committerAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2016-12-15 18:39:40 -0800
commitbc1906b4461328b7cf42666ef9448d5905487d07 (patch)
tree72e2315717d4f04161f6cb3732fe71753dc35db3 /python
parent84c6a86f31312cee294b81a37e6ab68e3621592b (diff)
downloadpaludis-bc1906b4461328b7cf42666ef9448d5905487d07.tar.gz
paludis-bc1906b4461328b7cf42666ef9448d5905487d07.tar.xz
build: Add missing linkage for Python libs
Diffstat (limited to 'python')
-rw-r--r--python/CMakeLists.txt10
1 files changed, 9 insertions, 1 deletions
diff --git a/python/CMakeLists.txt b/python/CMakeLists.txt
index 084945505..87aeb2920 100644
--- a/python/CMakeLists.txt
+++ b/python/CMakeLists.txt
@@ -43,7 +43,10 @@ if(ENABLE_PYTHON)
${Boost_INCLUDE_DIRS})
target_link_libraries(libpaludispython
PRIVATE
- libpaludis)
+ ${Boost_LIBRARIES}
+ ${PYTHON_LIBRARIES}
+ libpaludis
+ libpaludisutil)
paludis_add_library(paludis UNVERSIONED SHARED_LIBRARY
"${CMAKE_CURRENT_SOURCE_DIR}/paludis_python_so.cc")
@@ -70,6 +73,10 @@ if(ENABLE_PYTHON)
${Boost_INCLUDE_DIRS})
target_link_libraries(libadditionaltests
PRIVATE
+ ${Boost_LIBRARIES}
+ ${PYTHON_LIBRARIES}
+ libpaludis
+ libpaludisutil
libpaludispython)
paludis_add_library(additional_tests UNVERSIONED SHARED_LIBRARY
@@ -81,6 +88,7 @@ if(ENABLE_PYTHON)
target_link_libraries(additional_tests
PRIVATE
${Boost_PYTHON_LIBRARY}
+ ${PYTHON_LIBRARIES}
libadditionaltests)
set_target_properties(additional_tests PROPERTIES
OUTPUT_NAME