28 lines
835 B
Diff
28 lines
835 B
Diff
From 16dadccb7e718edc27797fa47e251547264c4285 Mon Sep 17 00:00:00 2001
|
|
From: Thomas Devoogdt <thomas.devoogdt@barco.com>
|
|
Date: Tue, 25 Jul 2023 10:00:36 +0200
|
|
Subject: [PATCH] build: disable cxx support for librdkafka #7741
|
|
|
|
Fluent-bit is c only, so no need to compile cxx.
|
|
This fixes also a compile error in buildroot.
|
|
|
|
Upstream: https://github.com/fluent/fluent-bit/pull/9277
|
|
Signed-off-by: Thomas Devoogdt <thomas.devoogdt@barco.com>
|
|
---
|
|
cmake/kafka.cmake | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/cmake/kafka.cmake b/cmake/kafka.cmake
|
|
index 3a0ebfed2..af0e2f460 100644
|
|
--- a/cmake/kafka.cmake
|
|
+++ b/cmake/kafka.cmake
|
|
@@ -1,4 +1,5 @@
|
|
# kafka cmake
|
|
+FLB_OPTION(RDKAFKA_BUILD_CXX Off)
|
|
FLB_OPTION(RDKAFKA_BUILD_STATIC On)
|
|
FLB_OPTION(RDKAFKA_BUILD_EXAMPLES Off)
|
|
FLB_OPTION(RDKAFKA_BUILD_TESTS Off)
|
|
--
|
|
2.43.0
|
|
|