void-packages/srcpkgs/sysdig/files/libsinsp-zstd.patch
2023-07-17 17:36:44 +02:00

23 lines
566 B
Diff

diff --git a/userspace/libsinsp/CMakeLists.txt b/userspace/libsinsp/CMakeLists.txt
index 18e59b1..b23e890 100644
--- a/userspace/libsinsp/CMakeLists.txt
+++ b/userspace/libsinsp/CMakeLists.txt
@@ -38,6 +38,7 @@ include(ExternalProject)
if(NOT WIN32 AND NOT APPLE)
include(b64)
+ find_library(ZSTD_LIB NAMES zstd)
endif()
include(jsoncpp)
@@ -246,7 +247,8 @@ if(NOT WIN32)
"${PROTOBUF_LIB}"
"${CARES_LIB}"
"${JQ_LIB}"
- "${B64_LIB}")
+ "${B64_LIB}"
+ "${ZSTD_LIB}")
if(NOT MUSL_OPTIMIZED_BUILD)
list(APPEND SINSP_LIBRARIES