Message ID | 20220807021456.9578-4-laurent.pinchart@ideasonboard.com |
---|---|
State | Accepted |
Headers | show |
Series |
|
Related | show |
diff --git a/src/libcamera/meson.build b/src/libcamera/meson.build index 8580feed3846..e144d4f9ae70 100644 --- a/src/libcamera/meson.build +++ b/src/libcamera/meson.build @@ -65,7 +65,7 @@ subdir('pipeline') subdir('proxy') libdl = cc.find_library('dl') -libgnutls = cc.find_library('gnutls', required : false) +libgnutls = dependency('gnutls', required : false) libudev = dependency('libudev', required : false) libyaml = dependency('yaml-0.1', required : false)
The gnutls library ships a pkgconfig .pc file. Use the standard dependency() method to locate it, instead of cc.find_library(). Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> --- src/libcamera/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)