rpicamsrc: add vchostif library as it is required to build successful

fix: undefined reference to `vc_gencmd'
/usr/src/debug/gstreamer1.0-plugins-good/1.18.1-r0/build/../gst-plugins-good-1.18.1/sys/rpicamsrc/RaspiCamControl.c:1440: undefined reference to `vc_gencmd'

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/818>
This commit is contained in:
Jose Quaresma 2020-11-15 11:30:07 +00:00
parent 030b1b3fa5
commit 2a5d7b18a0

View file

@ -34,7 +34,7 @@ if not cc.has_header('bcm_host.h', args: rpi_inc_args)
endif
mmal_deps = []
foreach rpi_lib : ['mmal_core', 'mmal_util', 'mmal_vc_client', 'vcos', 'bcm_host']
foreach rpi_lib : ['mmal_core', 'mmal_util', 'mmal_vc_client', 'vcos', 'vchostif', 'bcm_host']
l = cc.find_library(rpi_lib, dirs: rpi_lib_path, required: false)
if not l.found()
if get_option('rpicamsrc').enabled()