Skip to content

Commit

Permalink
mirror: test
Browse files Browse the repository at this point in the history
Signed-off-by: Quentin Monnet <[email protected]>
  • Loading branch information
qmonnet committed Feb 25, 2025
1 parent 3b812c2 commit 1a88cf7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ jobs:
sudo apt-get update
sudo apt-get install -y \
libbfd-dev libcap-dev libelf-dev libiberty-dev python3-docutils
# Install libsframe1 on Ubuntu 24.04+
sudo apt install -y libsframe1 || true
# clang/LLVM are already installed, but we're missing some aliases.
CLANG_VERSION="$(echo '__clang_major__' | clang -E - | tail -n 1)"
sudo update-alternatives \
Expand Down
3 changes: 3 additions & 0 deletions src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,9 @@ else
ifeq ($(feature-disassembler-init-styled), 1)
CFLAGS += -DDISASM_INIT_STYLED
endif
ifeq ($(feature-libelf-zstd),1)
LIBS += -lsframe
endif
endif
endif
ifeq ($(filter -DHAVE_LLVM_SUPPORT -DHAVE_LIBBFD_SUPPORT,$(CFLAGS)),)
Expand Down
2 changes: 1 addition & 1 deletion src/Makefile.feature
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ else
need_libzstd := $(findstring 1, $(call libelf_zstd_build))
endif
ifeq ($(need_libzstd),1)
LIBZSTD_FLAG := -lzstd
LIBZSTD_FLAG := -lzstd -lsframe
endif

LIBBFD_PROBE := '$(pound)include <bfd.h>\n'
Expand Down

0 comments on commit 1a88cf7

Please sign in to comment.