mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 12:32:29 +00:00
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:
parent
bb29b8f8d2
commit
1257e50d49
1 changed files with 5 additions and 2 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue