package/mdadm: not available in static builds
authorBernd Kuhls <bernd.kuhls@t-online.de>
Mon, 4 Sep 2017 04:49:54 +0000 (06:49 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Sat, 23 Sep 2017 20:15:36 +0000 (22:15 +0200)
http://git.neil.brown.name/?p=mdadm.git;a=commitdiff;h=7716570e6d906e7326f83d466f6ba73009649d03#patch9
added code to include dlfcn.h.

Fixes
http://autobuild.buildroot.net/results/163/163ad5a9f976662be8ca8664f91254f90fca8439/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/mdadm/Config.in

index e0d606b5ec9317a1ae2a5d569c11af46e1f797cf..61d631cda83caf096b4e70f9582698672539720c 100644 (file)
@@ -1,7 +1,12 @@
 config BR2_PACKAGE_MDADM
        bool "mdadm"
+       depends on !BR2_STATIC_LIBS # dlfcn.h
        depends on BR2_USE_MMU # fork()
        help
          Utility for managing Linux Software RAID arrays.
 
          http://neil.brown.name/blog/mdadm
+
+comment "mdadm needs a toolchain w/ dynamic library"
+       depends on BR2_STATIC_LIBS
+       depends on BR2_USE_MMU