From 0e1a80952524e672ce8ce5eb900740dda2ae9044 Mon Sep 17 00:00:00 2001 From: Kieran Bingham Date: Mon, 10 Dec 2018 13:48:15 +0000 Subject: libcamera: utils: Use internal basename implementation. Differing implementations of basename() exist, some of which may modify the content of the string passed as an argument. The implementation of basename() is trivial, thus to support different C librariese, provide our own version which accepts and returns a const char *. Update the call sites to use the new implementation. Reviewed-by: Laurent Pinchart Signed-off-by: Kieran Bingham --- src/libcamera/meson.build | 1 + 1 file changed, 1 insertion(+) (limited to 'src/libcamera/meson.build') diff --git a/src/libcamera/meson.build b/src/libcamera/meson.build index 4433abfc..b2fe0e4f 100644 --- a/src/libcamera/meson.build +++ b/src/libcamera/meson.build @@ -17,6 +17,7 @@ libcamera_sources = files([ 'signal.cpp', 'stream.cpp', 'timer.cpp', + 'utils.cpp', 'v4l2_device.cpp', 'v4l2_subdevice.cpp', ]) -- cgit v1.2.1