package/sane-airscan: needs C++

When the sane-airscan package was introduced in
f78280bf26 the dependency to c++ was not
added to the package.

The source directory fuzzer/ contains c++ files:
https://github.com/alexpevzner/sane-airscan/tree/master/fuzzer

meson.build requires c++:
https://github.com/alexpevzner/sane-airscan/blob/0.99.33/meson.build#L1

Fixes:
https://autobuild.buildroot.net/results/830/830374dcce8f29ad336cf8060bda552119c8377a/

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
Bernd Kuhls
2026-02-05 20:52:57 +01:00
committed by Julien Olivain
parent f18b4289d7
commit 759f5d5a17

View File

@@ -1,5 +1,6 @@
config BR2_PACKAGE_SANE_AIRSCAN
bool "sane-airscan"
depends on BR2_INSTALL_LIBSTDCPP
depends on !BR2_STATIC_LIBS # avahi, gnutls, sane-backends
depends on BR2_TOOLCHAIN_HAS_THREADS # avahi, dbus
depends on BR2_USE_WCHAR # avahi, gnutls
@@ -23,7 +24,7 @@ config BR2_PACKAGE_SANE_AIRSCAN
https://github.com/alexpevzner/sane-airscan
comment "sane-airscan needs a toolchain w/ wchar, dynamic library, threads"
comment "sane-airscan needs a toolchain w/ wchar, dynamic library, threads, C++"
depends on BR2_USE_MMU
depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS || \
!BR2_TOOLCHAIN_HAS_THREADS
!BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP