redis: needs dynamic library
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Tue, 23 Oct 2018 19:55:21 +0000 (21:55 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 23 Oct 2018 23:20:43 +0000 (01:20 +0200)
dlfcn.h is included in src/debug.c and src/module.c
module.c uses dlopen function

Fixes:
 - http://autobuild.buildroot.org/results/fdda0ee7461dfc9ea479d4d80ab42c50006a3b13

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/redis/Config.in

index 5d7edd8139504f10a7b15e6ddd9071b0473ad40e..2450ccdf7f4dd45141ceeb55b2e37cecd5028710 100644 (file)
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_REDIS
        bool "redis"
        depends on BR2_USE_MMU # fork()
+       depends on !BR2_STATIC_LIBS # dlfcn.h
        depends on BR2_TOOLCHAIN_HAS_ATOMIC
        depends on BR2_TOOLCHAIN_HAS_THREADS
        help
@@ -10,7 +11,7 @@ config BR2_PACKAGE_REDIS
 
          http://www.redis.io
 
-comment "redis needs a toolchain w/ threads"
+comment "redis needs a toolchain w/ dynamic library, threads"
        depends on BR2_USE_MMU
        depends on BR2_TOOLCHAIN_HAS_ATOMIC
-       depends on !BR2_TOOLCHAIN_HAS_THREADS
+       depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS