Skip to contentSkip to conversation

bpftool: add missing build dependency

PATCH New Gyorgy Sarvari 1 participant 1 message Mar 20

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bpftool: add missing build dependency

Add openssl as a dependency. Fixes compilation error:

| sign.c:16:10: fatal error: openssl/opensslv.h: No such file or directory
| 16 | #include <openssl/opensslv.h>

---
 meta-oe/recipes-kernel/bpftool/bpftool.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-kernel/bpftool/bpftool.bb +1 -1
index 4f4d4a8670..66e48cfd84 100644
@@ -2,7 +2,7 @@ SUMMARY = "Inspect and manipulate eBPF programs and maps"
 DESCRIPTION = "bpftool is a kernel tool for inspection and simple manipulation \
 of eBPF programs and maps."
 LICENSE = "GPL-2.0-only"
-DEPENDS = "binutils elfutils elfutils-native"
+DEPENDS = "binutils elfutils elfutils-native openssl"
 PROVIDES = "virtual/bpftool"
 
 inherit bash-completion kernelsrc kernel-arch