out_kafka: librdkafka: build library statically
@@ -76,7 +76,7 @@ if(NOT HAVE_REGEX)
list(APPEND sources regexp.c)
endif()
-add_library(rdkafka SHARED ${sources})
+add_library(rdkafka STATIC ${sources})
# Support '#include <rdkafka.h>'
target_include_directories(rdkafka PUBLIC "$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}>")
