aboutsummaryrefslogtreecommitdiff
path: root/package/duma
diff options
context:
space:
mode:
authorGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-05-17 16:15:39 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2015-05-17 20:45:20 +0200
commit648e791768ca0937b9b85d5e5650e4d4e000b960 (patch)
tree613f175cf7c892b13ec0cb0ca977055f354ee761 /package/duma
parent68167055154d9a550cb1de85456ecd47d0c6c529 (diff)
downloadbuildroot-648e791768ca0937b9b85d5e5650e4d4e000b960.tar.gz
buildroot-648e791768ca0937b9b85d5e5650e4d4e000b960.tar.bz2
duma: not available for static only builds
Fixes: http://autobuild.buildroot.net/results/ccfc79586516a6ebb05badfad258aad0b6b9d2a2/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/duma')
-rw-r--r--package/duma/Config.in8
1 files changed, 6 insertions, 2 deletions
diff --git a/package/duma/Config.in b/package/duma/Config.in
index 7679e647c2..b1f55faa73 100644
--- a/package/duma/Config.in
+++ b/package/duma/Config.in
@@ -6,6 +6,9 @@ config BR2_PACKAGE_DUMA
# allocations. Non-MMU platforms cannot perform such
# things.
depends on BR2_USE_MMU
+ # duma works using LD_PRELOAD, so it always needs to build a
+ # shared library
+ depends on !BR2_STATIC_LIBS
help
D.U.M.A. - Detect Unintended Memory Access. A fork of the
Electric Fence library. Detects buffer overflow and
@@ -20,6 +23,7 @@ config BR2_PACKAGE_DUMA_NO_LEAKDETECTION
endif # BR2_PACKAGE_DUMA
-comment "duma needs a toolchain w/ C++, threads"
+comment "duma needs a toolchain w/ C++, threads, dynamic library"
depends on BR2_USE_MMU
- depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
+ depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
+ BR2_STATIC_LIBS