Skip to content

Commit

Permalink
fix(build): make sinsp links to gprc libraries public
Browse files Browse the repository at this point in the history
This fixes dynamically linked builds of unit-test-libsinsp

Signed-off-by: Grzegorz Nosek <grzegorz.nosek@sysdig.com>
  • Loading branch information
gnosek authored and poiana committed Feb 10, 2025
1 parent ab15441 commit 5e06e37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion userspace/libsinsp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ if(NOT WIN32)
container_engine/containerd containerd_interface containers images descriptor
)

target_link_libraries(sinsp PRIVATE cri_v1alpha2 cri_v1 containerd_interface)
target_link_libraries(sinsp PUBLIC cri_v1alpha2 cri_v1 containerd_interface)

if(NOT MUSL_OPTIMIZED_BUILD)
find_library(LIB_ANL anl)
Expand Down

0 comments on commit 5e06e37

Please sign in to comment.