1################################################################################
2#
3# libunwind
4#
5################################################################################
6
7LIBUNWIND_VERSION = 1.8.1
8LIBUNWIND_SITE = https://github.com/libunwind/libunwind/releases/download/v$(LIBUNWIND_VERSION)
9LIBUNWIND_INSTALL_STAGING = YES
10LIBUNWIND_LICENSE_FILES = COPYING
11LIBUNWIND_LICENSE = MIT
12LIBUNWIND_CPE_ID_VALID = YES
13
14LIBUNWIND_CONF_OPTS = \
15	--disable-tests \
16	$(if $(BR2_INSTALL_LIBSTDCPP),--enable-cxx-exceptions,--disable-cxx-exceptions)
17
18ifeq ($(BR2_PACKAGE_LIBUCONTEXT),y)
19LIBUNWIND_DEPENDENCIES += libucontext
20LIBUNWIND_CONF_OPTS += LIBS=-lucontext
21endif
22
23$(eval $(autotools-package))
24