From 25ae33524d1ef2b0db22e5ef7a3bb30da9d58a03 Mon Sep 17 00:00:00 2001 From: Andrea Terzolo Date: Tue, 3 Oct 2023 15:42:15 +0200 Subject: [PATCH] fix: fix build in shared library build Signed-off-by: Andrea Terzolo --- userspace/libsinsp/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/userspace/libsinsp/CMakeLists.txt b/userspace/libsinsp/CMakeLists.txt index d92fc4fbeb..997a049541 100644 --- a/userspace/libsinsp/CMakeLists.txt +++ b/userspace/libsinsp/CMakeLists.txt @@ -200,11 +200,10 @@ endif() set_sinsp_target_properties(sinsp) target_link_libraries(sinsp - PUBLIC scap + PUBLIC scap "${RE2_LIB}" PRIVATE "${CURL_LIBRARIES}" "${JSONCPP_LIB}" - "${RE2_LIB}" ) set(SINSP_PKGCONFIG_LIBRARIES