summaryrefslogtreecommitdiffstats
path: root/package/gnutls
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2013-06-06 14:59:35 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2013-06-06 15:02:38 +0200
commit669de89be785f83ae4840b0ba3983d044e374172 (patch)
tree354e9cb0664b76320a70ab9fd78c80cf73d173b7 /package/gnutls
parent29b071077f66de1d9a257e7c5c6983dcce1fc65d (diff)
downloadbuildroot-novena-669de89be785f83ae4840b0ba3983d044e374172.tar.gz
buildroot-novena-669de89be785f83ae4840b0ba3983d044e374172.zip
Revert "gnutls: wchar only needed for tools"
This reverts commit 7672b1235d8f786938af66068c1c1da8a766bb38. It turns out that libgnutls.so ends up with a reference to wctomb() on uClibc, as uClibc doesn't have vasnprintf so gnutls builds its internal gnulib version of it, referencing wctomb(). Fix it by going back to requiring wchar for the base gnutls library as well. Fixes http://autobuild.buildroot.net/results/780/780e825e56dc78f1ea347ca462e2e31044428775/ Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/gnutls')
-rw-r--r--package/gnutls/Config.in9
1 files changed, 3 insertions, 6 deletions
diff --git a/package/gnutls/Config.in b/package/gnutls/Config.in
index a4eaa98e9..f699af784 100644
--- a/package/gnutls/Config.in
+++ b/package/gnutls/Config.in
@@ -2,21 +2,18 @@ config BR2_PACKAGE_GNUTLS
bool "gnutls"
select BR2_PACKAGE_NETTLE
select BR2_PACKAGE_PCRE
+ depends on BR2_USE_WCHAR
help
GnuTLS is a secure communications library implementing the SSL
and TLS protocols and technologies around them.
http://www.gnutls.org
-if BR2_PACKAGE_GNUTLS
-
config BR2_PACKAGE_GNUTLS_TOOLS
bool "install tools"
- depends on BR2_USE_WCHAR
+ depends on BR2_PACKAGE_GNUTLS
help
Install GnuTLS command line tools for various cryptographic tasks.
-comment "gnutls tools requires a toolchain with WCHAR support"
+comment "gnutls requires a toolchain with WCHAR support"
depends on !BR2_USE_WCHAR
-
-endif