File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 3737 sudo apt-get update
3838 sudo apt-get install -y \
3939 libbfd-dev libcap-dev libelf-dev libiberty-dev python3-docutils
40+ # Install libsframe1 on Ubuntu 24.04+
41+ sudo apt install -y libsframe1 || true
4042 # clang/LLVM are already installed, but we're missing some aliases.
4143 CLANG_VERSION="$(echo '__clang_major__' | clang -E - | tail -n 1)"
4244 sudo update-alternatives \
Original file line number Diff line number Diff line change @@ -129,8 +129,8 @@ LIBS = $(LIBBPF) -lelf -lz
129129LIBS_BOOTSTRAP = $(LIBBPF_BOOTSTRAP ) -lelf -lz
130130
131131ifeq ($(feature-libelf-zstd ) ,1)
132- LIBS += -lzstd
133- LIBS_BOOTSTRAP += -lzstd
132+ LIBS += -lzstd -lsframe
133+ LIBS_BOOTSTRAP += -lzstd -lsframe
134134endif
135135
136136ifeq ($(feature-libcap ) , 1)
Original file line number Diff line number Diff line change 6666 need_libzstd := $(findstring 1, $(call libelf_zstd_build))
6767endif
6868ifeq ($(need_libzstd),1)
69- LIBZSTD_FLAG := -lzstd
69+ LIBZSTD_FLAG := -lzstd -lsframe
7070endif
7171
7272LIBBFD_PROBE := '$(pound)include <bfd.h>\n '
You can’t perform that action at this time.
0 commit comments