[libcamera-devel] [PATCH] v4l2: Add soversion to the V4L2 layer
Kieran Bingham
kieran.bingham at ideasonboard.com
Wed May 3 12:01:40 CEST 2023
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)
--
2.34.1
More information about the libcamera-devel
mailing list