Commit 581161ec authored by Guillaume Desmottes's avatar Guillaume Desmottes 🐐 Committed by Tim-Philipp Müller

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.
parent 70715b51
......@@ -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')
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment