diff --git a/package/cppcms/Config.in b/package/cppcms/Config.in index bfbb2031f8..688d8f20c5 100644 --- a/package/cppcms/Config.in +++ b/package/cppcms/Config.in @@ -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