summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabrice Fontaine <fontaine.fabrice@gmail.com>2021-06-02 22:56:49 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-06-03 00:23:39 +0300
commit59de56f42a0fda1b8e778fb237b7bce494dc0584 (patch)
tree834fef73cac9d6b0faafd1bad6bd6d989b0f46fa
parent51c09236c4e8bec2b0a272ebecaa33f32432208a (diff)
qcam: Add libatomic dependency
Add libatomic dependency due to std::shared_ptr which is used by qcam since its addition in commit 97e8b3a2eb321884fe1e15fb584f41a38cc33d51: https://en.cppreference.com/w/cpp/memory/shared_ptr. This will avoid the following build failure: /srv/storage/autobuild/run/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/9.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: src/qcam/qcam.p/main_window.cpp.o: undefined reference to symbol '__atomic_fetch_add_4@@LIBATOMIC_1.0' Fixes: - http://autobuild.buildroot.org/results/d0726b2253f1f3d006e057f3b32c646c4b9b5f7a Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-rw-r--r--src/qcam/meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qcam/meson.build b/src/qcam/meson.build
index acde7682..fad4cc95 100644
--- a/src/qcam/meson.build
+++ b/src/qcam/meson.build
@@ -34,6 +34,7 @@ qcam_resources = files([
])
qcam_deps = [
+ libatomic,
libcamera_dep,
qt5_dep,
]