archrelease: copy trunk to community-any
[ArchLinux/community.git] / sysdig / repos / community-x86_64 / libsinsp-zstd.patch
blobccbc2f5a7dacc442964a2445305353c4a75875fd
1 diff --git a/userspace/libsinsp/CMakeLists.txt b/userspace/libsinsp/CMakeLists.txt
2 index ea3967d..0e55152 100644
3 --- a/userspace/libsinsp/CMakeLists.txt
4 +++ b/userspace/libsinsp/CMakeLists.txt
5 @@ -38,6 +38,7 @@ include(ExternalProject)
7 if(NOT WIN32 AND NOT APPLE)
8 include(b64)
9 + find_library(ZSTD_LIB NAMES zstd)
10 endif()
12 include(jsoncpp)
13 @@ -249,7 +250,8 @@ if(NOT WIN32)
14 "${PROTOBUF_LIB}"
15 "${CARES_LIB}"
16 "${JQ_LIB}"
17 - "${B64_LIB}")
18 + "${B64_LIB}"
19 + "${ZSTD_LIB}")
21 if(NOT MUSL_OPTIMIZED_BUILD)
22 list(APPEND SINSP_LIBRARIES
23 @@ -314,4 +316,3 @@ option(BUILD_LIBSINSP_EXAMPLES "Build libsinsp examples" ON)
24 if (BUILD_LIBSINSP_EXAMPLES)
25 add_subdirectory(examples)
26 endif()