diff options
author | Jordan Petridis <jpetridis@gnome.org> | 2021-02-16 16:20:05 +0200 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2021-02-24 18:55:16 +0000 |
commit | 6cd14fdb166fc66c7d2b1367a5c1aed67d6b9bc9 (patch) | |
tree | a326a2ed9bb82f1dc55796768f7481047a53c51c | |
parent | 3e79f901303282d4c4009c6d8ce55b7485787132 (diff) | |
download | gstreamer-plugins-good-6cd14fdb166fc66c7d2b1367a5c1aed67d6b9bc9.tar.gz |
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/883>
-rw-r--r-- | sys/rpicamsrc/meson.build | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/rpicamsrc/meson.build b/sys/rpicamsrc/meson.build index 48b2ceb66..ef324ec48 100644 --- a/sys/rpicamsrc/meson.build +++ b/sys/rpicamsrc/meson.build @@ -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() |