File tree 3 files changed +6
-1
lines changed
3 files changed +6
-1
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 180
180
ifeq ($(feature-disassembler-init-styled), 1)
181
181
CFLAGS += -DDISASM_INIT_STYLED
182
182
endif
183
+ ifeq ($(feature-libelf-zstd),1)
184
+ LIBS += -lsframe
185
+ endif
183
186
endif
184
187
endif
185
188
ifeq ($(filter -DHAVE_LLVM_SUPPORT -DHAVE_LIBBFD_SUPPORT,$(CFLAGS ) ) ,)
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