Skip to content

Commit

Permalink
sync with latest libbpf
Browse files Browse the repository at this point in the history
also add dependency of zlib in a couple of places
as libbpf starts to use zlib directly.

Signed-off-by: Yonghong Song <yhs@fb.com>
  • Loading branch information
yonghong-song committed Dec 21, 2019
1 parent b2aa29f commit 8174c0a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion introspection/CMakeLists.txt
Expand Up @@ -8,6 +8,6 @@ include_directories(${CMAKE_SOURCE_DIR}/src/cc/libbpf/include/uapi)
option(INSTALL_INTROSPECTION "Install BPF introspection tools" ON)

add_executable(bps bps.c)
target_link_libraries(bps bpf-static elf)
target_link_libraries(bps bpf-static elf z)

install (TARGETS bps DESTINATION share/bcc/introspection)
2 changes: 1 addition & 1 deletion src/cc/CMakeLists.txt
Expand Up @@ -91,7 +91,7 @@ if(ENABLE_USDT)
endif()

add_library(bcc-loader-static STATIC ${bcc_sym_sources} ${bcc_util_sources})
target_link_libraries(bcc-loader-static elf)
target_link_libraries(bcc-loader-static elf z)
add_library(bcc-static STATIC
${bcc_common_sources} ${bcc_table_sources} ${bcc_util_sources} ${bcc_usdt_sources} ${bcc_sym_sources} ${bcc_util_sources})
set_target_properties(bcc-static PROPERTIES OUTPUT_NAME bcc)
Expand Down

0 comments on commit 8174c0a

Please sign in to comment.