package/sconeserver: needs shared libs
authorYann E. MORIN <yann.morin.1998@free.fr>
Sun, 28 Aug 2016 18:19:54 +0000 (20:19 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 29 Aug 2016 07:43:36 +0000 (09:43 +0200)
sconeserver wants to use dlopen(), unconditionally: it does not try to
detect it, and it can't work without it (the code is not conditional).

Fixes:
    http://autobuild.buildroot.org/results/e92/e929799366e6f574c7b08d8635b18623afd3e3e1/

[Peter: drop uClibc dependency, adjust commit message]
Reported-by: Matthew Weber <matt@thewebers.ws>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/sconeserver/Config.in

index 4083aa7dce3627636f29338e5e1fac6a3b23922b..f03af8dd220641b7d022d8b83840918a5f9cc901 100644 (file)
@@ -2,6 +2,7 @@ menuconfig BR2_PACKAGE_SCONESERVER
        bool "sconeserver"
        depends on BR2_INSTALL_LIBSTDCPP
        depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
+       depends on !BR2_STATIC_LIBS # dlopen()
        select BR2_PACKAGE_PCRE
        help
          Sconeserver is a modular, object-orientated and extremely versatile
@@ -102,5 +103,6 @@ comment "ui module requires X.org"
 
 endif # BR2_PACKAGE_SCONESERVER
 
-comment "sconeserver needs a toolchain w/ C++, NPTL"
-       depends on !(BR2_INSTALL_LIBSTDCPP && BR2_TOOLCHAIN_HAS_THREADS_NPTL)
+comment "sconeserver needs a toolchain with dynamic library, C++, NPTL"
+       depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS_NPTL \
+               || BR2_STATIC_LIBS