Skip to content

Commit

Permalink
processor_sql: Add jemalloc dependency on sql parser
Browse files Browse the repository at this point in the history
flb_mem.h wants to depend on jemalloc when FLB_JEMALLOC is turned on.

Signed-off-by: Hiroshi Hatake <[email protected]>
  • Loading branch information
cosmo0920 authored and edsiper committed Mar 19, 2024
1 parent 2ff1365 commit 401620b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions plugins/processor_sql/parser/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,8 @@ add_library(processor-sql-parser STATIC
)

add_flex_bison_dependency(lexer parser)

if (FLB_JEMALLOC)
add_dependencies(processor-sql-parser libjemalloc)
include_directories("${CMAKE_BINARY_DIR}/include/")
endif ()

0 comments on commit 401620b

Please sign in to comment.