From 6ac57aead7d1f831c2ab1d720f077a58a44cffe9 Mon Sep 17 00:00:00 2001 From: Viktor Malik Date: Wed, 14 Jun 2023 14:34:54 +0200 Subject: [PATCH] Use system libbpf Statically embedding libraries goes against packaging guidelines. Use system libbpf instead. Resolves: rhbz#2190484 Signed-off-by: Viktor Malik --- dwarves.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dwarves.spec b/dwarves.spec index 60f9c09..c540944 100644 --- a/dwarves.spec +++ b/dwarves.spec @@ -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