diff --git a/package/xerces/Config.in b/package/xerces/Config.in index 123f0c1666..b77794d772 100644 --- a/package/xerces/Config.in +++ b/package/xerces/Config.in @@ -1,11 +1,11 @@ config BR2_PACKAGE_XERCES bool "xerces-c++" - depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_INSTALL_LIBSTDCPP && BR2_USE_WCHAR select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE help Xerces-C++ is a validating XML parser written in portable C++. http://xml.apache.org/xerces-c/ -comment "xerces-c++ requires a toolchain with C++ support enabled" - depends on !BR2_INSTALL_LIBSTDCPP +comment "xerces-c++ requires a toolchain with C++ and WCHAR support enabled" + depends on !(BR2_INSTALL_LIBSTDCPP && BR2_USE_WCHAR)