mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-21 07:46:38 +00:00
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
This commit is contained in:
parent
4f7b077737
commit
859daad65d
1 changed files with 1 additions and 1 deletions
|
@ -516,7 +516,7 @@ endif
|
||||||
|
|
||||||
bcm_host_dep = unneeded_dep
|
bcm_host_dep = unneeded_dep
|
||||||
if need_win_dispmanx != 'no'
|
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 bcm_host_dep.found()
|
||||||
if not egl_dep.found()
|
if not egl_dep.found()
|
||||||
error('dispmanx requires the use of egl')
|
error('dispmanx requires the use of egl')
|
||||||
|
|
Loading…
Reference in a new issue