From 68c3f5257d94d0fc0437747014f3c1ff4d02aa8b Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Tue, 5 Feb 2013 11:45:28 +0100 Subject: Revert "gnutls: make it non-wchar friendly" This reverts commit f1b86cef9884894df26ed25efaabe254f8f0754b While the fix makes gnutls build without wchar, it doesn't actually work as there's no rpl_wctomb implementation so the .so ends up with an undefined reference to wctomb: ./host/usr/bin/arm-linux-nm -D staging/usr/lib/libgnutls.so.28|grep wctomb U wctomb Causing linker errors for packages trying to use it: CCLD msmtp host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libgnutls.so: undefined reference to `wctomb' collect2: ld returned 1 exit status Signed-off-by: Peter Korsgaard --- package/gnutls/Config.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'package/gnutls') diff --git a/package/gnutls/Config.in b/package/gnutls/Config.in index c2ff4edb9..3a34c48b6 100644 --- a/package/gnutls/Config.in +++ b/package/gnutls/Config.in @@ -1,6 +1,7 @@ config BR2_PACKAGE_GNUTLS bool "gnutls" select BR2_PACKAGE_NETTLE + depends on BR2_USE_WCHAR help GnuTLS is a secure communications library implementing the SSL and TLS protocols and technologies around them. @@ -9,10 +10,9 @@ config BR2_PACKAGE_GNUTLS config BR2_PACKAGE_GNUTLS_TOOLS bool "install tools" - depends on BR2_PACKAGE_GNUTLS depends on BR2_USE_WCHAR help Install GnuTLS command line tools for various cryptographic tasks. -comment "gnutls tools requires a toolchain with WCHAR support" - depends on BR2_PACKAGE_GNUTLS && !BR2_USE_WCHAR +comment "gnutls requires a toolchain with WCHAR support" + depends on !BR2_USE_WCHAR -- cgit v1.2.3