rpicamsrc: depend on posix threads and vchiq_arm

Could only test on rpi 3b+

Close #839

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/875>
This commit is contained in:
Jordan Petridis 2021-02-16 16:20:05 +02:00 committed by GStreamer Merge Bot
parent bb29b8f8d2
commit 1257e50d49

View file

@ -33,8 +33,11 @@ if not cc.has_header('bcm_host.h', args: rpi_inc_args)
endif
endif
mmal_deps = []
foreach rpi_lib : ['mmal_core', 'mmal_util', 'mmal_vc_client', 'vcos', 'vchostif', 'bcm_host']
thread_dep = dependency('threads')
rt_dep = cxx.find_library('rt', required : false)
mmal_deps = [thread_dep, rt_dep]
foreach rpi_lib : ['mmal_core', 'mmal_util', 'mmal_vc_client', 'vcos', 'vchostif', 'vchiq_arm', 'bcm_host']
l = cc.find_library(rpi_lib, dirs: rpi_lib_path, required: false)
if not l.found()
if get_option('rpicamsrc').enabled()