summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/libunwind/Config.in7
1 files changed, 5 insertions, 2 deletions
diff --git a/package/libunwind/Config.in b/package/libunwind/Config.in
index 1a2531716f..be576d13c4 100644
--- a/package/libunwind/Config.in
+++ b/package/libunwind/Config.in
@@ -22,11 +22,14 @@ config BR2_PACKAGE_LIBUNWIND
bool "libunwind"
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_PACKAGE_LIBUNWIND_ARCH_SUPPORTS
+ # forcefully links against libgcc_s, only available in dynamic
+ # linking configurations
+ depends on !BR2_STATIC_LIBS
help
C API to determine the call-chain of a program.
http://www.nongnu.org/libunwind/index.html
-comment "libunwind needs a toolchain w/ threads"
+comment "libunwind needs a toolchain w/ threads, dynamic library"
depends on BR2_PACKAGE_LIBUNWIND_ARCH_SUPPORTS
- depends on !BR2_TOOLCHAIN_HAS_THREADS
+ depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
OpenPOWER on IntegriCloud