libcamera: base: Add libatomic dependency
Add libatomic dependency which is needed since the addition of the base support library in commit27aff949fb("libcamera/base: Move extended base functionality") to avoid the following build failure: /tmp/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/libcamera/base/libcamera-base.so.p/message.cpp.o: in function `libcamera::Message::registerMessageType()': message.cpp:(.text+0x290): undefined reference to `__atomic_fetch_add_4' Fixes:27aff949fb("libcamera/base: Move extended base functionality") Fixes: http://autobuild.buildroot.org/results/6e3471df8e9312a1789ca05ae70cc2283bfeec23 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>
This commit is contained in:
committed by
Laurent Pinchart
parent
556e2de509
commit
c52e8429cc
@@ -20,6 +20,7 @@ libcamera_base_sources = files([
|
||||
|
||||
libcamera_base_deps = [
|
||||
dependency('threads'),
|
||||
libatomic,
|
||||
]
|
||||
|
||||
# Internal components must use the libcamera_base_private dependency to enable
|
||||
|
||||
Reference in New Issue
Block a user