cppcms: does not build on static library only, needs dlopen()
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 20 Apr 2014 17:38:37 +0000 (19:38 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 20 Apr 2014 17:38:37 +0000 (19:38 +0200)
Fixes:

  http://autobuild.buildroot.org/results/5ee/5ee69eb7492fbd462124d7a23b5b79003fc1dd64/

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

index bfbb2031f8dceb5c1188bf5129da02477984d7bb..688d8f20c5c70e7834e7535a366b9b3c2959e432 100644 (file)
@@ -5,6 +5,7 @@ config BR2_PACKAGE_CPPCMS
        select BR2_PACKAGE_LIBGCRYPT
        depends on BR2_INSTALL_LIBSTDCPP
        depends on BR2_TOOLCHAIN_HAS_THREADS
+       depends on !BR2_PREFER_STATIC_LIB # dlopen()
        help
          CppCMS is a Free High Performance Web Development Framework
          (not a CMS) aimed for Rapid Web Application Development. It
@@ -38,5 +39,6 @@ comment "icu support needs a toolchain w/ wchar"
 
 endif
 
-comment "cppcms needs a toolchain w/ C++, threads"
-       depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
+comment "cppcms needs a toolchain w/ C++, threads, dynamic library"
+       depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
+               BR2_PREFER_STATIC_LIB