From 581161ecd74a2dcee5afa21b5536f37f3a66d681 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Wed, 21 Jun 2017 11:18:43 +0200 Subject: [PATCH] gl: meson: use cc.find_library() to detect 'bcm_host' On the raspberry pi no pkg-config file is provided for the bcm_host library. We are using AC_CHECK_LIB to detect this lib with autotools, cc.find_library() library is a closer meson equivalent. https://bugzilla.gnome.org/show_bug.cgi?id=784026 --- gst-libs/gst/gl/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst-libs/gst/gl/meson.build b/gst-libs/gst/gl/meson.build index a8f40bf7b7..62b22380cf 100644 --- a/gst-libs/gst/gl/meson.build +++ b/gst-libs/gst/gl/meson.build @@ -516,7 +516,7 @@ endif bcm_host_dep = unneeded_dep if need_win_dispmanx != 'no' - bcm_host_dep = dependency('bcm_host', required : false) + bcm_host_dep = cc.find_library('bcm_host', required : false) if bcm_host_dep.found() if not egl_dep.found() error('dispmanx requires the use of egl')