[PATCH] meson: Fix libbpf detection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx>
Reviewed-by: Mauro Carvalho Chehab <mchehab@xxxxxxxxxx>
---
 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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()

base-commit: 699bf6886e7c37a410daca7c227ea57fb416e7dd
-- 
Regards,

Laurent Pinchart




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux