File tree Expand file tree Collapse file tree 3 files changed +6
-1
lines changed
Expand file tree Collapse file tree 3 files changed +6
-1
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 180180 ifeq ($(feature-disassembler-init-styled), 1)
181181 CFLAGS += -DDISASM_INIT_STYLED
182182 endif
183+ ifeq ($(feature-libelf-zstd),1)
184+ LIBS += -lsframe
185+ endif
183186 endif
184187endif
185188ifeq ($(filter -DHAVE_LLVM_SUPPORT -DHAVE_LIBBFD_SUPPORT,$(CFLAGS ) ) ,)
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