File tree 3 files changed +5
-3
lines changed
3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 37
37
sudo apt-get update
38
38
sudo apt-get install -y \
39
39
libbfd-dev libcap-dev libelf-dev libiberty-dev python3-docutils
40
+ # Install libsframe1 on Ubuntu 24.04+
41
+ sudo apt install -y libsframe1 || true
40
42
# clang/LLVM are already installed, but we're missing some aliases.
41
43
CLANG_VERSION="$(echo '__clang_major__' | clang -E - | tail -n 1)"
42
44
sudo update-alternatives \
Original file line number Diff line number Diff line change @@ -129,8 +129,8 @@ LIBS = $(LIBBPF) -lelf -lz
129
129
LIBS_BOOTSTRAP = $(LIBBPF_BOOTSTRAP ) -lelf -lz
130
130
131
131
ifeq ($(feature-libelf-zstd ) ,1)
132
- LIBS += -lzstd
133
- LIBS_BOOTSTRAP += -lzstd
132
+ LIBS += -lzstd -lsframe
133
+ LIBS_BOOTSTRAP += -lzstd -lsframe
134
134
endif
135
135
136
136
ifeq ($(feature-libcap ) , 1)
Original file line number Diff line number Diff line change 66
66
need_libzstd := $(findstring 1, $(call libelf_zstd_build))
67
67
endif
68
68
ifeq ($(need_libzstd),1)
69
- LIBZSTD_FLAG := -lzstd
69
+ LIBZSTD_FLAG := -lzstd -lsframe
70
70
endif
71
71
72
72
LIBBFD_PROBE := '$(pound)include <bfd.h>\n '
You can’t perform that action at this time.
0 commit comments