diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-10-30 18:27:55 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-12-16 18:48:13 +0200 |
commit | f0fef545a7c08e8b27b260c22de8a84fc3a43372 (patch) | |
tree | f078fa291aae113986daa5fdfe89c73b11e021f8 | |
parent | 7ace78e2153485c49b6c6523269384932507982c (diff) |
libcamera: Add todo comment in meson.build about switch to dependency('dl')
The dlopen() & co. functions are provided by libdl on some systems, and
but the C library on others. Starting from version 0.62.0, meson handles
this behind the scenes when using dependency('dl'). Add a todo comment
to remember we should replace the manual implementation with a
dependency() call when updating to meson 0.62.0 or newer.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
-rw-r--r-- | src/libcamera/meson.build | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libcamera/meson.build b/src/libcamera/meson.build index ffc294f3..9869bfe7 100644 --- a/src/libcamera/meson.build +++ b/src/libcamera/meson.build @@ -69,6 +69,7 @@ subdir('proxy') null_dep = dependency('', required : false) +# TODO: Use dependency('dl') when updating to meson 0.62.0 or newer. libdl = null_dep if not cc.has_function('dlopen') libdl = cc.find_library('dl') |