diff --git a/package/poppler/Config.in b/package/poppler/Config.in index 6ff6215e29..521e3e65a8 100644 --- a/package/poppler/Config.in +++ b/package/poppler/Config.in @@ -1,5 +1,6 @@ config BR2_PACKAGE_POPPLER bool "poppler" + depends on BR2_USE_WCHAR depends on BR2_INSTALL_LIBSTDCPP depends on BR2_TOOLCHAIN_HAS_THREADS depends on !BR2_STATIC_LIBS @@ -29,6 +30,7 @@ config BR2_PACKAGE_POPPLER_UTILS endif -comment "poppler needs a toolchain w/ C++, threads, dynamic library, gcc >= 5" - depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \ - BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_5 +comment "poppler needs a toolchain w/ wchar, C++, threads, dynamic library, gcc >= 5" + depends on !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP || \ + !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \ + !BR2_TOOLCHAIN_GCC_AT_LEAST_5