netatalk: needs dynamic library
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 8 Aug 2015 15:31:13 +0000 (17:31 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 8 Aug 2015 15:31:13 +0000 (17:31 +0200)
Even though netatalk checks if dlfcn.h is available and has some code
that supposedly copes with non-dynamic library cases, it in fact does
not build. Since there is probably little interest in using netatalk
in pure statically linked environments, let's simply require dynamic
library support.

Fixes:

  http://autobuild.buildroot.net/results/79e55e64885d64392407e830560175c556953a20/

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

index cdb2039a4071ce770cb16c1353ac6f5f996c9e9b..ec6ec2c15db54b616fa0f3e4d9fca36b29963bca 100644 (file)
@@ -2,6 +2,7 @@ config BR2_PACKAGE_NETATALK
        bool "netatalk"
        depends on BR2_TOOLCHAIN_HAS_THREADS
        depends on BR2_USE_MMU # fork()
+       depends on !BR2_STATIC_LIBS
        select BR2_PACKAGE_BERKELEYDB
        select BR2_PACKAGE_OPENSSL
        select BR2_PACKAGE_LIBEVENT
@@ -13,6 +14,6 @@ config BR2_PACKAGE_NETATALK
 
          http://netatalk.sourceforge.net/
 
-comment "netatalk needs a toolchain w/ threads"
+comment "netatalk needs a toolchain w/ threads, dynamic library"
        depends on BR2_USE_MMU
-       depends on !BR2_TOOLCHAIN_HAS_THREADS
+       depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS