gnutls: requires WCHAR support
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 25 Jul 2012 07:46:34 +0000 (09:46 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 25 Jul 2012 16:25:43 +0000 (18:25 +0200)
gnutls uses wctomb(), which is available only on C libraries with
wide-char support. This fixes the following build failure:

 http://autobuild.buildroot.org/results/cd4e73be80fbb64858f4cf911d2b893b0fc06465/build-end.log

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/connman/Config.in
package/gnutls/Config.in
package/libsoup/Config.in
package/network-manager/Config.in

index c9bc94f06e53c2e4c21d7a6f2f2f3ffb2b6dbabe..2fcb6c19c314e940154238348ba9369dd45344fb 100644 (file)
@@ -5,7 +5,7 @@ config BR2_PACKAGE_CONNMAN
        select BR2_PACKAGE_IPTABLES
        select BR2_PACKAGE_GNUTLS
        depends on !(BR2_UCLIBC_VERSION_0_9_31 || BR2_UCLIBC_VERSION_0_9_32)
-       depends on BR2_USE_WCHAR # libglib2
+       depends on BR2_USE_WCHAR # libglib2 and gnutls
        depends on BR2_INET_IPV6
        help
          The Connection Manager (ConnMan) project provides a daemon for
index cedf120ee768ee5af0c79363b5528578e8278646..556caea2d26a56fc7df63c9ece4abb781d5f7da6 100644 (file)
@@ -1,8 +1,12 @@
 config BR2_PACKAGE_GNUTLS
        bool "gnutls"
        select BR2_PACKAGE_LIBGCRYPT
+       depends on BR2_USE_WCHAR
        help
          GnuTLS is a secure communications library implementing the SSL
          and TLS protocols and technologies around them.
 
          http://www.gnu.org/software/gnutls/gnutls.html
+
+comment "gnutls requires a toolchain with WCHAR support"
+       depends on !BR2_USE_WCHAR
index eee6adecc362f7e2bc39d9902d33897cd8a4e047..f40625d4878f86c18cf3598b7a04b1ff8714f92c 100644 (file)
@@ -1,6 +1,6 @@
 config BR2_PACKAGE_LIBSOUP
        bool "libsoup"
-       depends on BR2_USE_WCHAR # glib2
+       depends on BR2_USE_WCHAR # glib2 and gnutls
        select BR2_PACKAGE_LIBXML2
        select BR2_PACKAGE_LIBGLIB2
        select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT
index fb0c0e9eed6c9040d6c68c42905e9935d3ae8d29..a120d01ef3670401592da32448a465d56398cce0 100644 (file)
@@ -4,7 +4,7 @@ config BR2_PACKAGE_NETWORK_MANAGER
        select BR2_PACKAGE_DBUS
        depends on BR2_INET_IPV6
        depends on BR2_LARGEFILE # acl
-       depends on BR2_USE_WCHAR # libglib2
+       depends on BR2_USE_WCHAR # libglib2 and gnutls
        select BR2_PACKAGE_DBUS_GLIB
        select BR2_PACKAGE_UDEV
        select BR2_PACKAGE_UDEV_ALL_EXTRAS