summaryrefslogtreecommitdiff
path: root/package/libmicrohttpd
diff options
context:
space:
mode:
authorBaruch Siach <baruch@tkos.co.il>2018-06-29 13:44:04 +0300
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-06-30 18:41:41 +0200
commitcaddfa6237c75096fb6d883101d6ce161acc56a6 (patch)
tree8cecdff1ba0940e744cb4da3df200eda6555a608 /package/libmicrohttpd
parent18a3556220d0cec58fccff990fcf271375eeda1b (diff)
Revert "gnutls: drop wchar dependency"
This reverts commit 694cdb9273433e8a1278e2e3bb2a7fe2004aa813. Just like commit 68c3f5257d94 (Revert "gnutls: make it non-wchar friendly") before. It turns out that gnulib expects some other library to provide a wctomb() implementation. So when the C library does not provide one it is left as undefined symbol in libgnutls.so. Add a comment to reduce the chance of repeating the same mistake again. Fixes: http://autobuild.buildroot.net/results/86f/86f08276fcb0cc557ab3cc5f57229b2c0c6ac2d7/ http://autobuild.buildroot.net/results/7c4/7c4bcb839f0ad5bc0496b4115ff391a3b312581a/ http://autobuild.buildroot.net/results/1c3/1c353f542c49bbe5520266c0ebb6a58589032453/ Reported-by: Matt Weber <matthew.weber@rockwellcollins.com> Cc: Matt Weber <matthew.weber@rockwellcollins.com> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/libmicrohttpd')
-rw-r--r--package/libmicrohttpd/Config.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/libmicrohttpd/Config.in b/package/libmicrohttpd/Config.in
index f3386a63f2..7f3c9bb8fd 100644
--- a/package/libmicrohttpd/Config.in
+++ b/package/libmicrohttpd/Config.in
@@ -12,12 +12,13 @@ if BR2_PACKAGE_LIBMICROHTTPD
config BR2_PACKAGE_LIBMICROHTTPD_SSL
bool "https support"
depends on !BR2_STATIC_LIBS # gnutls
+ depends on BR2_USE_WCHAR
select BR2_PACKAGE_GNUTLS
help
Enable HTTPS (SSL) support.
-comment "libmicrohttpd https support needs a toolchain w/ dynamic library"
- depends on BR2_STATIC_LIBS
+comment "libmicrohttpd https support needs a toolchain w/ wchar, dynamic library"
+ depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS
endif