Skip to content

Commit fa94535

Browse files
committed
mirror: test
Signed-off-by: Quentin Monnet <qmo@kernel.org>
1 parent 3b812c2 commit fa94535

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
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

+2-2
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,8 @@ LIBS = $(LIBBPF) -lelf -lz
129129
LIBS_BOOTSTRAP = $(LIBBPF_BOOTSTRAP) -lelf -lz
130130

131131
ifeq ($(feature-libelf-zstd),1)
132-
LIBS += -lzstd
133-
LIBS_BOOTSTRAP += -lzstd
132+
LIBS += -lzstd -lsframe
133+
LIBS_BOOTSTRAP += -lzstd -lsframe
134134
endif
135135

136136
ifeq ($(feature-libcap), 1)

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)