mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
meson: Re-add pkg-config support for bcm_host
Now we just fallback to find_library for Rasbian jessy and older. https://bugzilla.gnome.org/show_bug.cgi?id=784026
This commit is contained in:
parent
eab6cd8d6d
commit
55e701a373
1 changed files with 8 additions and 1 deletions
|
@ -516,7 +516,14 @@ endif
|
|||
|
||||
bcm_host_dep = unneeded_dep
|
||||
if need_win_dispmanx != 'no'
|
||||
bcm_host_dep = cc.find_library('bcm_host', required : false)
|
||||
|
||||
# Try pkg-config for bcm_host then fallback to find_library to also
|
||||
# support older distribution
|
||||
bcm_host_dep = dependency('bcm_host', required : false)
|
||||
if not bcm_host_dep.found()
|
||||
bcm_host_dep = cc.find_library('bcm_host', required : false)
|
||||
endif
|
||||
|
||||
if bcm_host_dep.found()
|
||||
if not egl_dep.found()
|
||||
error('dispmanx requires the use of egl')
|
||||
|
|
Loading…
Reference in a new issue