From 65fd6c8ae9b131445bf9bfd99c8600661d93d73c Mon Sep 17 00:00:00 2001 From: Jan Palus Date: Sat, 18 Apr 2020 14:57:43 +0200 Subject: build: fallback to default pc file locations on rpi --- wscript | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'wscript') diff --git a/wscript b/wscript index 2ef1c6b7da..5132a763ed 100644 --- a/wscript +++ b/wscript @@ -711,7 +711,8 @@ video_output_features = [ }, { 'name': '--rpi', 'desc': 'Raspberry Pi support', - 'func': check_pkg_config('brcmegl'), + 'func': any_check(check_pkg_config('brcmegl'), + check_pkg_config('/opt/vc/lib/pkgconfig/brcmegl.pc')), 'default': 'disable', } , { 'name': '--ios-gl', @@ -800,7 +801,8 @@ hwaccel_features = [ 'name': '--rpi-mmal', 'desc': 'Raspberry Pi MMAL hwaccel', 'deps': 'rpi', - 'func': check_pkg_config('mmal'), + 'func': any_check(check_pkg_config('mmal'), + check_pkg_config('/opt/vc/lib/pkgconfig/mmal.pc')), } ] -- cgit v1.2.3