package/fluent-bit: fix build with libexecinfo
Fix the following build failure with libexecinfo raised since commit
d649bcd380
:
/home/autobuild/autobuild/instance-9/output-1/host/lib/gcc/mips-buildroot-linux-musl/10.4.0/../../../../mips-buildroot-linux-musl/bin/ld: ../lib/monkey/library/libmonkey.a(mk_utils.c.o): in function `mk_utils_stacktrace':
mk_utils.c:(.text+0x1578): undefined reference to `backtrace'
Fixes:
- http://autobuild.buildroot.org/results/63a6ba9104dfddbd7f6a7debadc0c6ef6e3a21f5
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
03bab7117d
commit
3645119338
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user