aboutsummaryrefslogtreecommitdiff
path: root/paludis/CMakeLists.txt
diff options
context:
space:
mode:
authorAvatar Michał Górny <mgorny@gentoo.org> 2016-12-13 23:31:19 +0100
committerAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2016-12-16 20:25:16 -0800
commit41c5a92518f6eff79e12abe9c891dd21316466b0 (patch)
treeda3decfc37e2221e23cada5371e4988fb47d61cc /paludis/CMakeLists.txt
parent1f569753403ddf5ef3c9281ca60139c6a084b638 (diff)
downloadpaludis-41c5a92518f6eff79e12abe9c891dd21316466b0.tar.gz
paludis-41c5a92518f6eff79e12abe9c891dd21316466b0.tar.xz
build: Add missing linkage between shared libraries
Diffstat (limited to 'paludis/CMakeLists.txt')
-rw-r--r--paludis/CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/paludis/CMakeLists.txt b/paludis/CMakeLists.txt
index 14889788c..b63c4dbf0 100644
--- a/paludis/CMakeLists.txt
+++ b/paludis/CMakeLists.txt
@@ -240,6 +240,8 @@ if(ENABLE_PBINS)
add_dependencies(libpaludistarextras libpaludis_SE libpaludisutil_SE)
target_link_libraries(libpaludistarextras
PRIVATE
+ libpaludis
+ libpaludisutil
${LibArchive_LIBRARIES})
endif()
@@ -249,12 +251,18 @@ if(ENABLE_STRIPPER)
add_dependencies(libpaludisstripperextras libpaludis_SE libpaludisutil_SE)
target_link_libraries(libpaludisstripperextras
PRIVATE
+ libpaludis
+ libpaludisutil
${LibMagic_LIBRARIES})
endif()
paludis_add_library(libpaludissohooks_TEST
SHARED_LIBRARY
"${CMAKE_CURRENT_SOURCE_DIR}/sohooks_TEST.cc")
+target_link_libraries(libpaludissohooks_TEST
+ PRIVATE
+ libpaludis
+ libpaludisutil)
add_dependencies(libpaludissohooks_TEST libpaludis_SE libpaludisutil_SE)
foreach(test