0002-build-disable-cxx-support-for-librdkafka-7741.patch 835 B

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