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 ff9f229
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y \
libbfd-dev libcap-dev libelf-dev libiberty-dev python3-docutils
libbfd-dev libcap-dev libelf-dev libiberty-dev python3-docutils libsframe1
# 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
6 changes: 3 additions & 3 deletions src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -162,11 +162,11 @@ ifeq ($(feature-llvm),1)
else
# Fall back on libbfd
ifeq ($(feature-libbfd),1)
LIBS += -lbfd -ldl -lopcodes
LIBS += -lbfd -lsframe -ldl -lopcodes
else ifeq ($(feature-libbfd-liberty),1)
LIBS += -lbfd -ldl -lopcodes -liberty
LIBS += -lbfd -lsframe -ldl -lopcodes -liberty
else ifeq ($(feature-libbfd-liberty-z),1)
LIBS += -lbfd -ldl -lopcodes -liberty -lz
LIBS += -lbfd -lsframe -ldl -lopcodes -liberty -lz
endif

# If one of the above feature combinations is set, we support libbfd
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 ff9f229

Please sign in to comment.