[Buildroot] [PATCH] gnutls: make crywrap a tools option

Gustavo Zacarias gustavo at zacarias.com.ar
Wed Jun 5 14:58:17 UTC 2013

crywrap now needs wchar support so just build it when tools are enabled.
It's also a tool so it belongs there anyway.

Signed-off-by: Gustavo Zacarias <gustavo at zacarias.com.ar>
 package/gnutls/gnutls.mk | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/package/gnutls/gnutls.mk b/package/gnutls/gnutls.mk
index 3089979..43ec977 100644
--- a/package/gnutls/gnutls.mk
+++ b/package/gnutls/gnutls.mk
@@ -37,6 +37,11 @@ GNUTLS_CONF_OPT += --with-regex-header=pcreposix.h \
 	--with-libregex-cflags="`$(PKG_CONFIG_HOST_BINARY) libpcreposix --cflags`" \
 	--with-libregex-libs="`$(PKG_CONFIG_HOST_BINARY) libpcreposix --libs`"
+# Consider crywrap as part of tools because it needs WCHAR, and it's so too
+	GNUTLS_CONF_OPT += --disable-crywrap
 # libidn support for nommu must exclude the crywrap wrapper (uses fork)
 GNUTLS_CONF_OPT += $(if $(BR2_USE_MMU),,--disable-crywrap)

More information about the buildroot mailing list