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/libmicrohttpd/Config.in | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'package/libmicrohttpd/Config.in') diff --git a/package/libmicrohttpd/Config.in b/package/libmicrohttpd/Config.in index 4e78a996c..2e4de0f6a 100644 --- a/package/libmicrohttpd/Config.in +++ b/package/libmicrohttpd/Config.in @@ -10,6 +10,7 @@ config BR2_PACKAGE_LIBMICROHTTPD config BR2_PACKAGE_LIBMICROHTTPD_SSL bool "https support" depends on BR2_PACKAGE_LIBMICROHTTPD + depends on BR2_USE_WCHAR select BR2_PACKAGE_GNUTLS select BR2_PACKAGE_LIBGCRYPT help @@ -17,3 +18,6 @@ config BR2_PACKAGE_LIBMICROHTTPD_SSL comment "libmicrohttpd needs a toolchain with thread support" depends on !BR2_TOOLCHAIN_HAS_THREADS + +comment "libmicrohttpd https support needs a toolchain with wchar support" + depends on BR2_PACKAGE_LIBMICROHTTPD && !BR2_USE_WCHAR -- cgit v1.2.3