[Buildroot] [PATCH 2/3] duma: not available for static only builds
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Sun May 17 14:15:39 UTC 2015
Fixes:
http://autobuild.buildroot.net/results/ccfc79586516a6ebb05badfad258aad0b6b9d2a2/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
package/duma/Config.in | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/package/duma/Config.in b/package/duma/Config.in
index 7679e64..b1f55fa 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
--
2.1.0
More information about the buildroot
mailing list