shellinabox: add dependency on !BR2_STATIC_LIBS
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 4 Aug 2016 20:37:01 +0000 (22:37 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 4 Aug 2016 20:38:19 +0000 (22:38 +0200)
shellinabox uses <dlfcn.h>, so a !BR2_STATIC_LIBS dependency is needed.

Fixes:

  http://autobuild.buildroot.net/results/59dd88e31a5f49231c4131b840fbf1bb76e777e7/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/shellinabox/Config.in

index 10c492c9d84c6f4d000d9668ae2006b73bb9927f..63a298dcae1490b14349b5088d4a1f281a8f99c7 100644 (file)
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_SHELLINABOX
        bool "shellinabox"
        depends on BR2_USE_MMU # fork()
+       depends on !BR2_STATIC_LIBS # dlfcn.h
        select BR2_PACKAGE_OPENSSL
        select BR2_PACKAGE_ZLIB
        help
@@ -11,3 +12,7 @@ config BR2_PACKAGE_SHELLINABOX
          browser plugins.
 
          https://github.com/shellinabox/shellinabox
+
+comment "shellinabox needs a toolchain w/ dynamic library"
+       depends on BR2_USE_MMU
+       depends on BR2_STATIC_LIBS