Andrew Geissler | 6ce62a2 | 2020-11-30 19:58:47 -0600 | [diff] [blame] | 1 | From 3ec4fe5507a39383b161f1ab7687acb4a57c32f8 Mon Sep 17 00:00:00 2001 |
| 2 | From: Jose Quaresma <quaresma.jose@gmail.com> |
| 3 | Date: Sun, 15 Nov 2020 11:30:07 +0000 |
| 4 | Subject: [PATCH] rpicamsrc: add vchostif library as it is required to build |
| 5 | successful |
| 6 | |
| 7 | fix: undefined reference to `vc_gencmd' |
| 8 | /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' |
| 9 | |
| 10 | Upstream-Status: Submitted [https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/818] |
| 11 | |
| 12 | Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> |
| 13 | --- |
| 14 | sys/rpicamsrc/meson.build | 2 +- |
| 15 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 16 | |
| 17 | diff --git a/sys/rpicamsrc/meson.build b/sys/rpicamsrc/meson.build |
| 18 | index dc18a8345..48b2ceb66 100644 |
| 19 | --- a/sys/rpicamsrc/meson.build |
| 20 | +++ b/sys/rpicamsrc/meson.build |
| 21 | @@ -34,7 +34,7 @@ if not cc.has_header('bcm_host.h', args: rpi_inc_args) |
| 22 | endif |
| 23 | |
| 24 | mmal_deps = [] |
| 25 | -foreach rpi_lib : ['mmal_core', 'mmal_util', 'mmal_vc_client', 'vcos', 'bcm_host'] |
| 26 | +foreach rpi_lib : ['mmal_core', 'mmal_util', 'mmal_vc_client', 'vcos', 'vchostif', 'bcm_host'] |
| 27 | l = cc.find_library(rpi_lib, dirs: rpi_lib_path, required: false) |
| 28 | if not l.found() |
| 29 | if get_option('rpicamsrc').enabled() |
| 30 | -- |
| 31 | 2.29.2 |
| 32 | |