package/ola: fix build with libexecinfo

Fix the following build failure raised on uclibc and musl since the
reintroduction of the package in commit
16ff948444:

/home/giuliobenetti/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arc-buildroot-linux-uclibc/10.2.0/../../../../arc-buildroot-linux-uclibc/bin/ld: common/.libs/libolacommon.so: undefined reference to `backtrace'

Fixes:
 - http://autobuild.buildroot.org/results/4362b20d786a0f44268ec32a689c23ac6d3b71c6

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Fabrice Fontaine 2022-03-13 11:37:37 +01:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent c3c7e03e2a
commit 803bc68d59

View File

@ -54,6 +54,11 @@ endef
OLA_CONF_ENV = PYTHONPATH=$(TARGET_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages
OLA_MAKE_ENV = PYTHONPATH=$(TARGET_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages
ifeq ($(BR2_PACKAGE_LIBEXECINFO),y)
OLA_DEPENDENCIES += libexecinfo
OLA_CONF_ENV += LDFLAGS="$(TARGET_LDFLAGS) -lexecinfo"
endif
## OLA Bindings and Interface selections
ifeq ($(BR2_PACKAGE_OLA_WEB),y)