diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2013-02-05 11:45:28 +0100 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2013-02-05 11:45:28 +0100 |
commit | 68c3f5257d94d0fc0437747014f3c1ff4d02aa8b (patch) | |
tree | 64a5324907ef7a553e66c2910a8054d3e82f3831 /package/libmicrohttpd | |
parent | ab6f23bda038e83c7ff4f407579572fd4f4d8437 (diff) |
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 <jacmet@sunsite.dk>
Diffstat (limited to 'package/libmicrohttpd')
-rw-r--r-- | package/libmicrohttpd/Config.in | 4 |
1 files changed, 4 insertions, 0 deletions
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 |