aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/boost/Config.in9
-rw-r--r--package/boost/boost.mk1
2 files changed, 10 insertions, 0 deletions
diff --git a/package/boost/Config.in b/package/boost/Config.in
index 37a7e7339f..e69e6c64af 100644
--- a/package/boost/Config.in
+++ b/package/boost/Config.in
@@ -158,6 +158,15 @@ config BR2_PACKAGE_BOOST_SERIALIZATION
config BR2_PACKAGE_BOOST_SIGNALS
bool "boost-signals"
+config BR2_PACKAGE_BOOST_STACKTRACE
+ bool "boost-stacktrace"
+ depends on !BR2_STATIC_LIBS
+ help
+ Gather, store, copy and print backtraces.
+
+comment "boost-stacktrace needs a toolchain w/ dynamic library"
+ depends on BR2_STATIC_LIBS
+
config BR2_PACKAGE_BOOST_SYSTEM
bool "boost-system"
diff --git a/package/boost/boost.mk b/package/boost/boost.mk
index 0fd6c4d0de..750b40f7d2 100644
--- a/package/boost/boost.mk
+++ b/package/boost/boost.mk
@@ -42,6 +42,7 @@ BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_RANDOM),,random)
BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_REGEX),,regex)
BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_SERIALIZATION),,serialization)
BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_SIGNALS),,signals)
+BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_STACKTRACE),,stacktrace)
BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_SYSTEM),,system)
BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_TEST),,test)
BOOST_WITHOUT_FLAGS += $(if $(BR2_PACKAGE_BOOST_THREAD),,thread)