File tree Expand file tree Collapse file tree
build/fbcode_builder/manifests Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,6 +32,8 @@ find_package(folly CONFIG REQUIRED)
3232find_package (Glog REQUIRED )
3333find_package (Gflags REQUIRED )
3434find_package (Threads )
35+ find_package (PkgConfig REQUIRED )
36+ pkg_check_modules (ZSTD REQUIRED libzstd )
3537
3638include_directories ("." )
3739add_subdirectory (katran )
Original file line number Diff line number Diff line change @@ -21,3 +21,7 @@ builder = nop
2121[build.os=linux]
2222builder = autoconf
2323subdir = elfutils-0.193
24+
25+ [dependencies]
26+ zstd
27+ zlib
Original file line number Diff line number Diff line change @@ -9,5 +9,9 @@ target_link_libraries(xdpdecap_tester
99 "${PTHREAD} "
1010 bpftester
1111 decap
12- zstd
12+ ${ZSTD_LIBRARIES}
13+ )
14+
15+ target_include_directories (xdpdecap_tester PRIVATE
16+ ${ZSTD_INCLUDE_DIRS}
1317)
Original file line number Diff line number Diff line change @@ -81,6 +81,7 @@ target_link_libraries(bpfadapter
8181 PUBLIC
8282 ${BPF_LINK_LIBRARIES}
8383 ${LIBELF}
84+ ${ZSTD_LIBRARIES}
8485 glog::glog
8586 ${PTHREAD}
8687 ${LIBZ}
@@ -94,6 +95,7 @@ target_include_directories(
9495 ${FOLLY_INCLUDE_DIR}
9596 ${KATRAN_INCLUDE_DIR}
9697 ${LIBMNL_INCLUDE_DIR}
98+ ${ZSTD_INCLUDE_DIRS}
9799)
98100
99101add_library (pcapwriter STATIC
You can’t perform that action at this time.
0 commit comments