cppcms: needs NPTL support
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 12 May 2014 22:09:19 +0000 (00:09 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 12 May 2014 22:18:04 +0000 (00:18 +0200)
cppcms uses some thread functions that are not available in certain
uClibc thread implementations. Even though a bit more restrictive than
necessary, adding a NPTL dependency is the easiest solution, and is
quite logical for a relatively large and complex package such as
cppcms.

Fixes:

  http://autobuild.buildroot.net/results/a26/a26574419aacbea4140dfca1d503bcab599edd71/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/cppcms/Config.in

index 688d8f20c5c70e7834e7535a366b9b3c2959e432..614abeb550dbd3537d3ddf38810ee9bd4704ed08 100644 (file)
@@ -4,7 +4,7 @@ config BR2_PACKAGE_CPPCMS
        select BR2_PACKAGE_PCRE
        select BR2_PACKAGE_LIBGCRYPT
        depends on BR2_INSTALL_LIBSTDCPP
-       depends on BR2_TOOLCHAIN_HAS_THREADS
+       depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
        depends on !BR2_PREFER_STATIC_LIB # dlopen()
        help
          CppCMS is a Free High Performance Web Development Framework
@@ -39,6 +39,6 @@ comment "icu support needs a toolchain w/ wchar"
 
 endif
 
-comment "cppcms needs a toolchain w/ C++, threads, dynamic library"
-       depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
+comment "cppcms needs a toolchain w/ C++, NPTL, dynamic library"
+       depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \
                BR2_PREFER_STATIC_LIB