SHA256
1
0
forked from pool/bpftool

Accepting request 1068372 from home:marxin:branches:Base:System

- Add -lzstd as libbfd is linked against the compression library.

OBS-URL: https://build.opensuse.org/request/show/1068372
OBS-URL: https://build.opensuse.org/package/show/Base:System/bpftool?expand=0&rev=14
This commit is contained in:
Dirk Mueller 2023-03-01 08:47:31 +00:00 committed by Git OBS Bridge
parent 7b6d965692
commit fdd3adfa88
3 changed files with 8 additions and 2 deletions

View File

@ -1,5 +1,5 @@
diff --git a/tools/bpf/bpftool/Makefile b/tools/bpf/bpftool/Makefile diff --git a/tools/bpf/bpftool/Makefile b/tools/bpf/bpftool/Makefile
index f610e184ce02..afef9c65614e 100644 index f610e184ce02..21cd7505e871 100644
--- a/tools/bpf/bpftool/Makefile --- a/tools/bpf/bpftool/Makefile
+++ b/tools/bpf/bpftool/Makefile +++ b/tools/bpf/bpftool/Makefile
@@ -154,6 +154,8 @@ else @@ -154,6 +154,8 @@ else
@ -7,7 +7,7 @@ index f610e184ce02..afef9c65614e 100644
ifeq ($(feature-libbfd),1) ifeq ($(feature-libbfd),1)
LIBS += -lbfd -ldl -lopcodes LIBS += -lbfd -ldl -lopcodes
+ else ifeq ($(feature-libbfd-liberty-sframe),1) + else ifeq ($(feature-libbfd-liberty-sframe),1)
+ LIBS += -lbfd -ldl -lopcodes -liberty -lsframe + LIBS += -lbfd -ldl -lopcodes -liberty -lsframe -lzstd
else ifeq ($(feature-libbfd-liberty),1) else ifeq ($(feature-libbfd-liberty),1)
LIBS += -lbfd -ldl -lopcodes -liberty LIBS += -lbfd -ldl -lopcodes -liberty
else ifeq ($(feature-libbfd-liberty-z),1) else ifeq ($(feature-libbfd-liberty-z),1)

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Mar 1 08:15:33 UTC 2023 - Martin Liška <mliska@suse.cz>
- Add -lzstd as libbfd is linked against the compression library.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Feb 22 08:21:22 UTC 2023 - Martin Liška <mliska@suse.cz> Wed Feb 22 08:21:22 UTC 2023 - Martin Liška <mliska@suse.cz>

View File

@ -29,6 +29,7 @@ BuildRequires: binutils-devel
BuildRequires: docutils BuildRequires: docutils
BuildRequires: kernel-source BuildRequires: kernel-source
BuildRequires: libelf-devel BuildRequires: libelf-devel
BuildRequires: libzstd-devel
%description %description
bpftool allows for inspection and simple modification of BPF objects (programs bpftool allows for inspection and simple modification of BPF objects (programs