[libcamera-devel] [PATCH] v4l2: Add soversion to the V4L2 layer
Javier Martinez Canillas
javierm at redhat.com
Wed May 3 12:08:09 CEST 2023
Hello Kieran,
On 5/3/23 12:01, Kieran Bingham wrote:
> There may be parallel installations of libcamera with separate
> instances of the v4l2-adaptation layer shared object.
>
> This shared library can be linked against a specific libcamera
> soversion so provide a soversioned V4L2 compatibility layer.
>
> Suggested-by: Javier Martinez Canillas <javierm at redhat.com>
> Signed-off-by: Kieran Bingham <kieran.bingham at ideasonboard.com>
> ---
> src/v4l2/meson.build | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/src/v4l2/meson.build b/src/v4l2/meson.build
> index f132103cb503..48f201c5c3a0 100644
> --- a/src/v4l2/meson.build
> +++ b/src/v4l2/meson.build
> @@ -30,6 +30,7 @@ v4l2_compat_cpp_args = [
> v4l2_compat = shared_library('v4l2-compat',
> v4l2_compat_sources,
> name_prefix : '',
> + soversion : libcamera_soversion,
> install : true,
> dependencies : [libcamera_private, libdl],
> cpp_args : v4l2_compat_cpp_args)
Thanks a lot for doing this. I've just tested and it works correctly:
Reviewed-by: Javier Martinez Canillas <javierm at redhat.com>
--
Best regards,
Javier Martinez Canillas
Core Platforms
Red Hat
More information about the libcamera-devel
mailing list