duma: not available for static only builds
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 17 May 2015 14:15:39 +0000 (16:15 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 17 May 2015 18:45:20 +0000 (20:45 +0200)
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>
package/duma/Config.in

index 7679e647c20deec10c728d5f2290545c047d454c..b1f55faa73025916634e652cf04eb77512cf789c 100644 (file)
@@ -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