diff --git a/introspection/CMakeLists.txt b/introspection/CMakeLists.txt index 91eac43cea96..a2cdb5f4dd25 100644 --- a/introspection/CMakeLists.txt +++ b/introspection/CMakeLists.txt @@ -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) diff --git a/src/cc/CMakeLists.txt b/src/cc/CMakeLists.txt index c53c542f4ea0..03af231949d0 100644 --- a/src/cc/CMakeLists.txt +++ b/src/cc/CMakeLists.txt @@ -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) diff --git a/src/cc/libbpf b/src/cc/libbpf index ab067ed37105..e7a82fc0330f 160000 --- a/src/cc/libbpf +++ b/src/cc/libbpf @@ -1 +1 @@ -Subproject commit ab067ed3710550c6d1b127aac6437f96f8f99447 +Subproject commit e7a82fc0330f1189797d16b03fc6391475d79c6d