Skip to content

Commit 1a88cf7

Browse files
committed
mirror: test
Signed-off-by: Quentin Monnet <[email protected]>
1 parent 3b812c2 commit 1a88cf7

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

.github/workflows/build.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ jobs:
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 \

src/Makefile

+3
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,9 @@ else
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
184187
endif
185188
ifeq ($(filter -DHAVE_LLVM_SUPPORT -DHAVE_LIBBFD_SUPPORT,$(CFLAGS)),)

src/Makefile.feature

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ else
6666
need_libzstd := $(findstring 1, $(call libelf_zstd_build))
6767
endif
6868
ifeq ($(need_libzstd),1)
69-
LIBZSTD_FLAG := -lzstd
69+
LIBZSTD_FLAG := -lzstd -lsframe
7070
endif
7171

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

0 commit comments

Comments
 (0)