[Buildroot] [PATCH] package/fluent-bit: fix build without c++

Thomas Petazzoni thomas.petazzoni at bootlin.com
Fri Jul 28 19:32:15 UTC 2023


On Fri, 28 Jul 2023 11:36:58 +0200
Thomas Devoogdt <thomas at devoogdt.com> wrote:

> FLB_{IN,OUT}_KAFKA is enabled by default since v2.1.5,
> causing compile errors if no c++ support.
> 
> These patches allow the Kafka plugin to be build without C++.
> 
> Fixes:
>  - http://autobuild.buildroot.net/results/d63/d638390da721eb3bdfcc7a4229114b492aaead99/
>  - http://autobuild.buildroot.net/results/709/70960056479eab860e94eed993566fcb78c4dbbe/
>  - http://autobuild.buildroot.net/results/366/3667126ee954f927f83ccfbaae3c6fb8ebd07dbb/
>  - http://autobuild.buildroot.net/results/9bd/9bd090216b9a8005fc3d020a9c0adf5e825bea59/
>  - ...
> 
> Signed-off-by: Thomas Devoogdt <thomas at devoogdt.com>
> ---
>  ...MakeLists.txt-allow-compilation-with.patch | 117 ++++++++++++++++++
>  ...isable-cxx-support-for-librdkafka-77.patch |  29 +++++
>  2 files changed, 146 insertions(+)
>  create mode 100644 package/fluent-bit/0002-lib-librdkafka-CMakeLists.txt-allow-compilation-with.patch
>  create mode 100644 package/fluent-bit/0003-CMakeLists.txt-disable-cxx-support-for-librdkafka-77.patch

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the buildroot mailing list