diff --git a/package/fluent-bit/fluent-bit.mk b/package/fluent-bit/fluent-bit.mk index d618fdf1e2..8ba16399bb 100644 --- a/package/fluent-bit/fluent-bit.mk +++ b/package/fluent-bit/fluent-bit.mk @@ -56,6 +56,11 @@ FLUENT_BIT_CXXFLAGS += -fcommon FLUENT_BIT_CFLAGS += -U_FILE_OFFSET_BITS FLUENT_BIT_CXXFLAGS += -U_FILE_OFFSET_BITS +ifeq ($(BR2_PACKAGE_LIBEXECINFO),y) +FLUENT_BIT_DEPENDENCIES += libexecinfo +FLUENT_BIT_LDFLAGS += -lexecinfo +endif + ifeq ($(BR2_TOOLCHAIN_USES_GLIBC),) FLUENT_BIT_DEPENDENCIES += musl-fts FLUENT_BIT_LDFLAGS += -lfts