xerces: needs wchar support in toolchain
authorPeter Korsgaard <jacmet@sunsite.dk>
Sun, 27 Feb 2011 21:25:58 +0000 (22:25 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 27 Feb 2011 21:25:58 +0000 (22:25 +0100)
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/xerces/Config.in

index 123f0c166650ba122ffc8d0f7d274b44ec10f736..b77794d772ee8b87a5a0030eff1be8dd4c145ffb 100644 (file)
@@ -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)