rpicamsrc: add vchostif library as it is required to build successful
authorJose Quaresma <quaresma.jose@gmail.com>
Sun, 15 Nov 2020 11:30:07 +0000 (11:30 +0000)
committerJose Quaresma <quaresma.jose@gmail.com>
Tue, 1 Dec 2020 18:24:58 +0000 (18:24 +0000)
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>

sys/rpicamsrc/meson.build

index dc18a83..48b2ceb 100644 (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()