Use system libbpf

Statically embedding libraries goes against packaging guidelines. Use
system libbpf instead.

Resolves: rhbz#2190484

Signed-off-by: Viktor Malik <vmalik@redhat.com>
This commit is contained in:
Viktor Malik 2023-06-14 14:34:54 +02:00
parent 0e8fa765e3
commit 6ac57aead7
No known key found for this signature in database
GPG Key ID: AF7A2E1F6EE74FB3

View File

@ -14,6 +14,7 @@ BuildRequires: gcc
BuildRequires: cmake >= 2.8.12
BuildRequires: zlib-devel
BuildRequires: elfutils-devel >= 0.130
BuildRequires: libbpf-devel
%description
dwarves is a set of tools that use the debugging information inserted in
@ -69,7 +70,7 @@ Debugging information processing library development files.
%patch1 -p1
%build
%cmake -DCMAKE_BUILD_TYPE=Release .
%cmake -DCMAKE_BUILD_TYPE=Release -DLIBBPF_EMBEDDED=Off .
%cmake_build
%install