diff mbox series

meson: Fix libbpf detection

Message ID 20230320140852.25104-1-laurent.pinchart@ideasonboard.com
State New
Headers show
Series meson: Fix libbpf detection | expand

Commit Message

Laurent Pinchart March 20, 2023, 2:08 p.m. UTC
The libbpf pkgconfig package is called libbpf.pc, not bpf.pc. Fix the
library detection by using the proper name.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Mauro Carvalho Chehab <mchehab@kernel.org>
---
 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


base-commit: 699bf6886e7c37a410daca7c227ea57fb416e7dd
diff mbox series

Patch

diff --git a/meson.build b/meson.build
index 3412a09a9fbb..c7cb6d3255aa 100644
--- a/meson.build
+++ b/meson.build
@@ -80,7 +80,7 @@  dep_librt = cc.find_library('rt')
 dep_qt5 = dependency('qt5', modules: ['Core', 'Gui', 'Widgets', 'OpenGL'],
                      required : get_option('qvidcap').enabled() or get_option('qv4l2').enabled())
 
-dep_libbpf = dependency('bpf', required : get_option('bpf'), version : '>=0.7')
+dep_libbpf = dependency('libbpf', required : get_option('bpf'), version : '>=0.7')
 
 dep_sdl = dependency('SDL2', required: false)
 if not dep_sdl.found()